Robert P. J. Day wrote:
as part of a tutorial i'm writing on iptables, here's what i've listed --
feedback is appreciated.

to switch from ipchains to iptables:

  # chkconfig --level 0123456 ipchains off	(turn off auto start)
  # service ipchains stop			(stop ipchains)
  # rmmod ipchains				(unload the module)
  # rpm -e ipchains				(if you're SURE :-)

  # insmod ip_tables				(insmod or modprobe?)
  # chkconfig iptables on			(auto start)
  # service iptables start			(fire it up)
  # iptables -L					(verify with listing)

comments?

rday
I would say that you should use `modprobe -r` instead of rmmod, and modprobe instead of insmod. `modprobe` will include any module dependencies, thus it is a good habit to get into ;o)

Forrest
--




Reply via email to