** Reply to message from Amir Tal <[EMAIL PROTECTED]> on Sat, 04 May 2002 12:06:33 
+0300


> hi,
> 
> one of my machines at home is running RH72 , 2.4.9-31 (upgraded from up2date) 
> and since i upgraded i am having problems forwarding traffic through that 
> machine using iptables.
> the iptables version that comes with RH originally is iptables-1.2.3-1, and i 
> figured that an upgrade is in order here so i removed the old packages and 
> installed iptables-1.2.4-2 using up2date. this is the same error i am getting 
> before and after the update :
> 
> # /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> /lib/modules/2.4.9-31/kernel/net/ipv4/netfilter/ip_tables.o: init_module: 
> Device or resource busy
> Hint: insmod errors can be caused by incorrect module parameters, including 
> invalid IO or IRQ parameters
> /lib/modules/2.4.9-31/kernel/net/ipv4/netfilter/ip_tables.o: insmod 
> /lib/modules/2.4.9-31/kernel/net/ipv4/netfilter/ip_tables.o failed
> /lib/modules/2.4.9-31/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables 
> failed
> iptables v1.2.4: can't initialize iptables table `nat': iptables who? (do you 
> need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
<snip>

iptables will not load if ipchains is loaded first. Do the following:

/sbin/chkconfig --del ipchains
/sbin/service ipchains stop
/sbin/modprobe -r ipchains

The above gets rid of ipchains both in the current session and for future sessions.

Then do:

/sbin/chkconfig --levels 2345 iptables on

Then try loading your iptables. Should work now. BTW, the first RH 1.2.4 rpms were 
compiled with debugging enabled. This will mess up a lot of scripts that call 
iptables. Best thing to do is to upgrade to the latest iptables v1.2.5 from the 
rawhide ftp repository at ftp.redhat.com

jb

-- 
Jack Bowling
mailto: [EMAIL PROTECTED]



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

Reply via email to