PDA

View Full Version : iptables and state module


oxdef
2009-09-02, 19:38
Hello, all!

I tried to tune iptables config, so I have such lines to allow only ESTABLISHED connections in input chain:

...
# Default rules
$IPTABLES --append INPUT --protocol tcp --match state --state ESTABLISHED,RELATED --jump ACCEPT
$IPTABLES --append INPUT --protocol udp --match state --state ESTABLISHED,RELATED --jump ACCEPT
$IPTABLES --append INPUT --protocol icmp --match state --state ESTABLISHED,RELATED --jump ACCEPT
...

But when I run firewall sh script there are errors about state module. It seems that there is not such module in maemo iptables :( How can I find it?