i want to let web browser will always work fast,
i have a adsl line ,2M bandwith.
thanks .
read here about queues
i would suggest you HTB
mark the traffic to port 80 and make a queue with 1.5mb limit, then make a queue for other traffic, and make a limit of 0.5mb for that one. will this be fine?
yes this will work too and using simple queues
with priorities
you mean the others only have 0.5M bandwith,even http does not use all of 1.5M?
I want to make it work like this ,if http doesn’t use full 1.5M,the others can use the rest bandwith,
it can work?
it depends on configuration, if you read simple queues and a bit fiddling around you can get what you need.
you can use limit-at and max-limit to define how much they will get when http queue is not entirely used. in other words - read the manual please
I have mikrotik 2.8.28 with hotspot setup (rules for virus and hiden proxy ) so here is what Im do :
To mark all the traffic (http , pop , smpt ,news and dns)
/ ip firewall mangle
add in-interface=Public dst-address=:80 protocol=tcp action=accept \
mark-flow=http comment="" disabled=no
add in-interface=Public dst-address=:25 protocol=tcp action=accept \
mark-flow=smpt comment="" disabled=no
add in-interface=Public dst-address=:110 protocol=tcp action=accept \
mark-flow=pop comment="" disabled=no
add in-interface=Public dst-address=:119 protocol=tcp action=accept \
mark-flow=news comment="" disabled=no
add in-interface=Public dst-address=:53 protocol=udp action=accept \
mark-flow=dns comment="" disabled=no
add in-interface=Public action=accept mark-flow=other comment="" disabled=no
Then add queue tree
add name="queue http" parent=global-in flow=http limit-at=0 queue=default \
priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0 \
disabled=no
add name="queue other" parent=global-in flow=other limit-at=0 queue=default \
priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0 \
disabled=no
add name="queue smpt" parent=global-in flow=smpt limit-at=0 queue=default \
priority=2 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0 \
disabled=no
add name="queue pop" parent=global-in flow=pop limit-at=0 queue=default \
priority=2 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0 \
disabled=no
add name="queue news" parent=global-in flow=news limit-at=0 queue=default \
priority=3 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0 \
disabled=no
add name="queue dns" parent=global-in flow=dns limit-at=0 queue=default \
priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0 \
disabled=no
Well this is work but Im not sure that is always OK , i will try to disable transparent proxy …
Hm I was just disable firewall rule for transparent proxy and now my pages is opening faster … hm … maybe guys from mikrotik have some solution ?
I want transparent proxy to cashe pages and files …