service ipchains stop    # Stop IPChains that may be running now.
service iptables on      # Start IPTables now.
chkconfig ipchains off   # Stop IPChains from running on boot up.
chkconfig iptables on    # Start IPTables on boot up.


That should be all there is to it. If you want more information on what
gets done when IPChains is stopped check the /etc/rc.d/init.d/ipchains
file. {You can run that file as root, too.)
{^_^}
----- Original Message -----
From: "Alejandro González Hernández - Imoq" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 29, 2002 9:16 AM
Subject: IPCHAINS modules to unload and IPTABLES modules to load.


> Hello.
>
> I would like to unload ipchains and load iptables. I can run "setup",
> then unselect "ipchains" and select "iptables" and when I reboot, I get
> iptables working. What I need right now is to unload ipchains and load
> iptables without rebooting.
>
> So far, I know that I can do "service ipchains stop" but then I don't
> know which ipchains modules unload (or how to do that, rmmod? insmod?
> modprobe?) and which iptables modules load so I can finally do "service
> iptables start".
>
> Any hint will be appreciated.




Reply via email to