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


elite_syntax
02-18-2003, 12:10 PM
If i have ipchains and iptables how can i just remove ipchains from the kernel and just have iptables bootup on startup on my laptop?

:confused:

Gaston
02-19-2003, 06:18 PM
most likely your default run level is 5, just to make sure,
check out /etc/inittab and look for line id:x:initdefault
where x is your default run level, let's say, it's 5,
then go to /etc/rc5.d directory and ls -al and you should
find your Sxxipchains and Sxxiptables files. Just change
the capital s to lower case s for ipchains:

mv Sxxipchains sxxipchains where double xx is the
run number given to ipchains.

Next time your system starts up, ipchains will not start
because init is looking first the run level in /etc/inittab and
then checking what files to start specfied for the specific
run level, it will start the services with capital s.

Or, if you want, move the ipchains files to some other
dir.

Sharks Fan
02-20-2003, 02:31 PM
I just upgraded to Red Hat 8.0, and now am using IPTables as my firewall since that's the latest and greatest thing. (Right? :)) I still have IPChains running. I'm assuming that I might as well just stop this myself and forget about it. Any ideas?

chrism01
02-21-2003, 03:13 PM
You can only have ipchains OR iptables running, else they will clash. Since you've got RH8 I recommend using the rpm -e option on ipchains to avoid any complications.