|
Posted by Grant on October 14, 2009, 3:25 am
If you were Registered and logged in, you could reply and use other advanced thread options
>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.
>
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.
--
http://bugsplatter.id.au
|