need help with iptables

Hello, I am having trouble configuring iptables on my Virtual Private Server. It seems to ignore any line that has "-m state --state ". Specifically, I need the line "-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT" to work properly and it does not. It seems to just ignore it and hence I have trouble accessing outside services on my machine. Is there an alternate way to configure this line or has anyone else come across such an issue? I am using iptables version 1.4.1.1. Thanks.

Reply to
Omid Ghiami
Loading thread data ...

First two rules here:

iptables -A INPUT -p all -m state --state ESTABLISHED,RELATED \\ -j ACCEPT iptables -A INPUT -p all -i lo -j ACCEPT

Order of rules matters.

Grant.

Reply to
Grant

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.