Page 1 of 1

Mangle Transparent Proxy traffic

Posted: Wed Aug 23, 2006 7:55 pm
by savagedavid
I am trying to create a mangle to catch all port 80 traffic coming from the transparent proxy running on my main mikrotik router. Since the proxy uses the same outgoing IP as all other traffic leaving the router I dont know how to catch specifically proxy traffic. The reason behind this is I want to load balance only port 80 traffic coming from the proxy server.

Posted: Wed Aug 23, 2006 10:34 pm
by samsoft08
this question will stay the immortal question without answer ..
some useres says you cant mangle proxy traffic other says yes you can , we want the answer and how to .. from one of the MT team , i dont know why do they keep sielent when this question been asked , if no let me know and stop trying , if yes tell us how .

Posted: Sat Sep 02, 2006 10:20 am
by savagedavid
I have figured it out. You need to mangle traffic leaving the output chain on port 80. This will catch the transparent proxy traffic.

Posted: Sun Sep 03, 2006 12:46 am
by samsoft08
ok , but what about other packets going out through port 80 which didnt come from proxy ?

Posted: Sun Sep 03, 2006 11:26 am
by savagedavid
The output chain only catches traffic FROM the router itself, not packets that the router is routing on behalf of other systems (that comes out the forward chain). The output chain is NOT all traffic leaving the router. Therefore it all works as planned.

Posted: Thu Sep 07, 2006 7:25 pm
by eugenevdm
hi savagedavid I still have a problem with this configuration:

1. If you mangle on the output chain it does not work if I specify my default gateway IP address. It does work when I specify only port 80 so I suppose that is fine.

2. If I ECMP my proxy traffic according to the mangle rule my downloads break :-(

So I still can't use ECMP with transparent proxy.