Re: IPCHAINS modules to unload and IPTABLES modules to load.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 29 Oct 2002, Taylor, ForrestX wrote:

> 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)

now that i think about it, doesn't "service iptables start"
automatically load ip_tables anyway?

rday



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux