Once upon a time, Sanjeewa Wijerathne <[EMAIL PROTECTED]> wrote :

> Hi all,
>     I want to setup iptables rules on my RH 7.1 and to test with a 
> simple rule i did the following,
> |
> 
> |# iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP
[...errors...]
> how do i correct the above errors.
> thank you.
> sanjeewa.

You probably have the ipchains module loaded (check with "lsmod"). The
ipchains and iptables modules are incompatible so you will need to remove
("rmmod ipchains") one before using the other.

If you want to disable ipchains rules at startup and use iptables ones
instead, you can do the following :
chkconfig --level 0123456 ipchains off
chkconfig --level 345 iptables on

And the good old "service iptables save" once you've got all your rules
into place so that they come back upon the next reboot.

Matthias

-- 
Matthias (Thias) Saou             http://www.marmotte.net/
---------------------       French - Canadian - Spanish resident

http://rpmforge.net/    -   Hairy and scary RPM related projects
http://freshrpms.net/   -   RPMs just like mom used to make them



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to