Web Proxy + 2 Gateways Trouble

I have two gateways, one for P2P traffic and one for normal surfing traffic..
I’m trying to make the Web Proxy run on the web gateway but it’s not going..

I followed instructions from other users…

Mangle Rule:

add chain=output protocol=tcp dst-port=8080
action=mark-routing new-routing-mark=Web passthrough=no

NAT Rule:

add chain=dstnat protocol=tcp dst-port=80
action=redirect to-ports=8080

And the result I got was that pages would start to load but will halt at “Website found. Waiting for reply…” and would never get past that point. Turn the rules off and everything goes fine.. what’s missing/incorrect?

ip web-proxy> set enabled=yes port=8080 max-cache-size=1048576

Yes sorry I forgot to mention I already enabled the Web Proxy, still no go..

well I thing that your web-proxy is rouning on incorect interface,

but I dont known how to change interface for proxy :frowning:

Why dont you try this

add chain=output protocol=tcp dst-port=80 (instead of 8080)
action=mark-routing new-routing-mark=Web passthrough=no


You are using port 8080 from clients to proxy but your proxy is connecting to port 80 of any web server in the internet.

That rule is already in NAT, so I’m guessing I should try putting it in Mangle?

bump because i need to know :slight_smile: