Page 1 of 1
webproxy and queue problem
Posted: Thu Nov 10, 2005 7:08 pm
by cristian
Hi guys.
I have one queue for each ip. When i enabled the webproxy and do redirection the queue same not work, i download without limit.
What i am doing wrong?? i want to use transparent proxy but limiting with queue.
Cris
Posted: Thu Nov 10, 2005 11:51 pm
by jager
Instead using webproxy, why dont you nat all traffic to port 80 directly to your external proxy server?
Posted: Fri Nov 11, 2005 1:12 am
by cristian
you mean nat port 80 tcp to external proxy??? I don't have external proxy
I want to make the mikrotik webproxy.
I have 2.9.7 version
Posted: Mon Nov 28, 2005 7:59 pm
by ajescobar
I have the same problem.
I have one queue for each IP address of my customers. Each queue has his own limit at and max limit.
If I enable Webproxy in transparent mode, my custmers don't have any bandwidth limit when they are browsing the net.
I have searched this whole list and there is not a similar topic.
Any help will be appreciated.
Posted: Mon Nov 28, 2005 9:44 pm
by Testingpepe
Same problem here.....simple queues stop working when I enable de webproxy. Try everything and nothing works, the problem persist........
Posted: Mon Nov 28, 2005 10:17 pm
by proxy
try limiting to=target-address .
thnx
Posted: Mon Nov 28, 2005 10:28 pm
by Testingpepe
you mean.................
Posted: Mon Nov 28, 2005 10:34 pm
by proxy
i said , if you are limiting with Simple queues , set the IP address of the host in the flied TARGET ADDRESS not to DST Address.. if you understood what i mean
Posted: Tue Nov 29, 2005 3:58 pm
by Testingpepe
yes me understand.....but, if I put the target address whit interface ether2(internet) the queue dont count the traffic and if I put it whit interface wlan3(internal) the downstream is the upstream and vice versa.
I dont know if I explain ......
Posted: Tue Nov 29, 2005 9:32 pm
by proxy
man i'm using webproxy too , set interface to ALL do not specify interface and it will work
Posted: Fri Dec 02, 2005 11:13 pm
by ajescobar
I am not using Simple Queues. I am using Queue Tree.
I have one queue for each IP address of my customers. Each queue has his own limit at and max limit. Like this one:
/ ip firewall nat add chain=srcnat out-interface=Public src-address=10.132.243.33 dst-address=0.0.0.0/0 \
action=masquerade comment="Nodo Poblado - Jose F Molina" disabled=no
/ ip firewall mangle add chain=prerouting src-address=10.132.243.33 action=mark-connection \
new-connection-mark=JoseFMolina-con comment="Nodo Poblado - Jose F Molina" disabled=no
/ ip firewall mangle add chain=prerouting connection-mark=JoseFMolina-con action=mark-packet \
new-packet-mark=JoseFMolina comment="" disabled=no
/ queue tree add name="JoseFMolina-Download" parent=Private packet-mark=JoseFMolina limit-at=140000 \
queue=default priority=7 max-limit=160000 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
/ queue tree add name="JoseFMolina-Upload" parent=Public packet-mark=JoseFMolina limit-at=140000 \
queue=default priority=7 max-limit=160000 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
If I enable Webproxy in transparent mode, my custmers don't have any bandwidth limit when they are browsing the net.
Any help will be appreciated.