We are wanting to setup Squid as a transparent proxy on our network. I have squid 2.6 running, and if i set my browser to look at it as a proxy, it works.
I have searched the forums, and tried the dst nat rules to forward traffic from our MT router to the Squid box, but when i enable this rule, all HTTP traffic stops dead, unless i set my browser to look at the proxy address. I disable the rule, and it works fine.
lol, sorry, im not angry! Just had a bad day (3 RB333’s turned up DOA) AND i cant make this work
I have squid with the transparent option working, as stated. The whole config might be a bit much to post, but we have the eth interface (internal) in a bridge with vlans, and the PPPoE interface out over another Eth interface
Ok, i take that back, It seems to be working for me here (at home) though i am bridged in to the lan in question by vlans (bridged with the internal ethernet interface) but the clients that connect to the ETH are dropped as soon as i enable that rule. Ideas?
what im not understanding is why the rule i have now works for me at home (over the vlans) but not to any machine connected to the eth interface. that seems mighty strange.
add chain=dstnat action=dst-nat to-addresses=10.1.1.2 to-ports=8080
src-address=10.0.8.0/22 dst-port=80 protocol=tcp comment=“redirect to
proxy for pppoe network” disabled=no
add chain=srcnat action=masquerade src-address=10.1.1.2 comment=“MasQ
for local” disabled=no
.
I have corrected what hilton commented, just in case someone someone would like to use this config, which is not rocket science.
If you are into RouterOS, you could have easily figure that out. The above is a working setup , for my network ros2.9.51 with Squid proxy before my upgrade to RB1000 ros v3.9, replace what ever ip you have.
Not sure Masquerade position, if not after then before, maybe I could double check later.
The purposed is to share a configuration that works for me at least.and yes it a municipal network hotpsot and pppoe running on vlan.