Community discussions

MikroTik App
 
MrIC
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Tue Jan 13, 2009 11:34 pm

Something Wrong With Http Proxy !

Thu Apr 23, 2009 1:32 am

Hi
i have load balance between 2 wan ( ECMP Load Balance )

when i tried to active http proxy it didn't work ( Browsing stopped )
this was my redirect rule :
ip firewall nat
add action=redirect chain=dstnat comment="cache redirect rule" disabled=no \
dst-port=80 protocol=tcp to-ports=8080
then i made 2 rules and it worked

ip firewall nat

add action=redirect chain=dstnat comment="cache redirect rule" disabled=no \
dst-port=80 in-interface=WAN-1 protocol=tcp to-ports=8080
add action=redirect chain=dstnat comment="cache redirect rule" disabled=no \
dst-port=80 in-interface=WAN-2 protocol=tcp to-ports=8080

the firest rule worked but the secound one didn't effect ( any way proxy worked) but when i tried to deny sites or redirect them it didn't worked ( i tried and tried but it didn't work )
BTW : wen i'm using one line and try to block sites by proxy it worked

So what is the worng ?
( PS : Sorry for my bad english )
 
MrIC
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Tue Jan 13, 2009 11:34 pm

Re: Something Wrong With Http Proxy !

Thu Apr 23, 2009 7:38 pm

help pls