translating an iptables command back to ipchains
I'm setting up a transparent proxy server on a home network. The ldp transparent proxy howto instructs me to add this to my firewall script. No problem - i can do iptables. Problem is, the proxy box is running a 2.2 kernel, so I need to be able to add this in ipchains language. I'm worried that if I learn ipchains, i'll get confused with my current knowledge of iptables! Would someone be willing to translate it for me?
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
apparently this will take 3 lines in ipchains - two further lines to prevent a loop.
Many thanks, Peter.
|