I have a stupid question for you. When I installed 7.2 (later 7.3) I chose ipchains rather than iptables so that I could use my old 6.x firewall. What must I do to switch to iptables?
There are no stupid questions, only stupid people. You can always tell a stupid person from the others because stupid people don't ask questions... that's why they stay stupid. Ask questions... don't be stupid!
In very general terms, you do (as root):
# chkconfig ipchains off # service ipchains stop # rpm -e ipchains
(Note: many computers also have lokkit installed, a package which helps you make ipchains rules. If so the "rpm -e ipchains" command will fail because lokkit depends on ipchains, and you simply change it to "rpm -e ipchains lokkit".)
# rpm -Uvh iptables-1.28.x.x.x.x.rpm # chkconfig iptables on
Now make sure you create the iptables rules that will do what you want, either by (surprise!) using a tool like Shorewall, FWbuilder, or others, or by writing them yourself. I don't like writing rules by hand... unnecessary work and complication. Finally, issue the command:
# service iptables start
Assuming no complications, you now have a running firewall with iptables instead of ipchains.
-- Rodolfo J. Paiz [EMAIL PROTECTED]
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list