Marc Winster Chan wrote:
> lsmod list
> Module                  Size  Used by    Not tainted
> ipchains               43560  11
> 
> then i do a rmmod ipchains
> ipchains: Device or resource busy
> 
> i'm using rh 7.3 with default kernel.

You should have told us that you were using Red Hat 7.3 earlier. :)

Anyway, here it goes.


1.      Use "/etc/init.d/ipchains stop" as root to stop ipchains. You
        now, instead of using rmmod, use "modprobe -r" just in case the
        ipchains module is still loaded.

2.      Delete the file /etc/sysconfig/ipchains or move it to another
        folder. Red Hat's default behavior is to load ipchains, if that
        file exists and contains ipchains configuration,when you start
        your computer.

There you go. Now use iptables. From there, you'll just have to convert
those ipchains rule to their iptables equivalent

If you want to save your iptables config, type this on the commandline:

        iptables-save>/etc/sysconfig/iptables

Like ipchains, if Red Hat finds /etc/sysconfig/iptables on start-up, it
will load iptables with the configuration stored on that file.



Gideon

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to