The iptables rule for transparent proxy is
#/sbin/iptables -t nat -A POSTROUTING -s 192.168.0.0/255.255.255.0 -o eth1 -j MASQUERADE
in the above rule 192.168.0.0 is the local network and
255.255.255.0 is subnet.
-o eth1 option specifies the external interface which connects your proxy server/gateway
to the internet.for me it is eth1.for you it might be ppp0 if you are using dialup.
Enable routing on the Server.
Add the IP of your proxy server as gateway in the network properties of the Windows
reply back if have any relative problem.
On Thu, 27 Sep 2001 shahazad(a)linuxplanet.nu wrote :
i need help for setting up a transparent proxy...i want
to use iptables. can u
please send me the rules, and also the setting that are
to be made on the linux
box and on the windows client. i cant get yahoo chat to
work on it as well.
Also do send me some links/urls about the same ..
Get your firstname@lastname email for FREE at