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.
need help with iptables
Oct 14, 2009
1 Replies
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.
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required