Hi

I'm running a squid cache proxy in bridge mode.

(INTERNET)-----(LINUX ROUTER/FIREWALL)-----(SQUID
BRIDGE)-----(SWITCH)-----(PCS AND SERVERS)

With this setup, websites hosted on the LAN doesn't work anymore. The
following iptables rules redirect HTTP request to squid:

ebtables -t broute -A BROUTING -p IPv4 --ip-protocol 6
--ip-destination-port 80 -j redirect --redirect-target ACCEPT
iptables -t nat -A PREROUTING -i br0 -p tcp --dport 80 -j REDIRECT
--to-port 3128

How can I continu to serve my users but to keep my websites working ?

Reply via email to