Skip to contentSkip to conversation

IPTables not available

DISCUSSION Bailey Kong 1 participant 1 message Jun 26, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

yeah, I think rh72 ships with an ipchains kernel. if you apply system updates, the new kernel is an ipchains one. don't know about rh73, which would be odd if it's the same reason. ...send the error?

Both RH7.2 and RH7.3 ship with an iptables kernel. The reason why it probably doesn't work for you, is simply because ipchains was loaded alrdy. Ipchains is RH's default firewall. All you need to do is

chkconfig --del ipchains
so ipchains doesn't load on boot or you can delete the ipchains firewall rm /etc/sysconfig/ipchains

then reboot
i don't think you can just do a service ipchains stop, but i could be wrong

and then implement your iptables firewall using the iptables command

iptables -A .....

after you done with that you can save it to a file using

/etc/rc.d/init.d/iptables save or service iptables save

hope this helps
Bailey

Signature · 4 lines
[email protected]

Administrator, tgpsolutions
http://www.tgpsolutions.com