[svlug] IPTables

Chris Gippert chrisg at macknowhow.co.za
Fri Jul 7 03:39:24 PDT 2006


Hi all

I am using Fedora Core 4 and I am trying to do this command:

iptables -A INPUT -j ACCEPT -m state --state ESTABLISHED, RELATED -i 
eth0 -p tcp

This is what I get:

iptables v1.3.0: Bad state

I think I have a syntax error here. All the necessary modules should be 
loaded since I have added them to /etc/rc.local.
These are modprobe ip_conntrack, ip_conntrack_ftp, iptable_nat and 
ip_nat_ftp.

In the iptables man page there is a section on conntrack where it says 
use --ctstate.
I have tried this and still had the same error.

What could I be doing wrong?

Thanks
Chris





More information about the Svlug mailing list