Displaying 1 result from an estimated 1 matches for "iptables_box".
Did you mean:
iptables_bin
2003 Dec 03
0
transparent proxy running in the local network
...ian
testing)
tried to get this work the hole day:
I found this iptables:
------
iptables -t nat -A PREROUTING -i eth0 -s ! $squid_box -p tcp
--dport 80 -j DNAT --to $squid_box:3128
iptables -t nat -A POSTROUTING -o eth0 -s $local_network -d $squid_box
-j SNAT --to $iptables_box
iptables -A FORWARD -s $local_network -d $squid_box -i eth0 -o eth0 -p
tcp --dport 3128 -j ACCEPT
------
thats not the best, but it''s easy !
so I tried to to that under shorewall:
192.168.66.100:3128 is my squid proxy
192.168.66.1 is my '&...