[TriLUG] convert ipchains to iptables?

Greg Brown gregbrown at mindspring.com
Wed Oct 30 09:54:10 EST 2002


Hey all.  I have a couple iptables questions for ya'all.

How would I write the following three lines of ipchains as iptables
-A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 22:22 -p 6 -j ACCEPT
-A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -i eth1 -p 6 -j DENY -y
-A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 25:25 -i eth1 -p 6 -j ACCEPT

I've also read that IP Masq. is not done though iptables like it is in
ipchains.  Is this true?  If so how is IP Masq. configured when using
iptables?

Thanks!

Greg




More information about the TriLUG mailing list