Click to See Complete Forum and Search --> : iptables load script


wincen
10-02-2001, 08:17 PM
I'm using Redhat 7.1 and ipchains is loaded by default, but I'd like to use iptables. I can remove ipchains manually, but I'd rather not have to remove it everytime i start up and then insert the iptables module. Where is the ipchains module loaded? And should I put the script to load iptables in the same place? Should I remove the symlink to ipchain in the run level directory (rc3.d) after the scripts have been changed?

Thade
10-03-2001, 04:17 AM
Originally posted by wincen:
<STRONG>I'm using Redhat 7.1 and ipchains is loaded by default, but I'd like to use iptables. I can remove ipchains manually, but I'd rather not have to remove it everytime i start up and then insert the iptables module. Where is the ipchains module loaded? And should I put the script to load iptables in the same place? Should I remove the symlink to ipchain in the run level directory (rc3.d) after the scripts have been changed?</STRONG>

Try to look at /etc/sysconfig/ipchains file.
You must either delete it or disable the rc.y script (Sxxipchains -&gt; Kxxipchains).
Iptables works in the same way (/etc/sysconfig/iptables and rc.y script).