
Thanx Perry I inserted the '--state' but I still get the same error message; even when I insert a # at the beginning of the line and run it again! I'm using PICO text editor and saving it with a different name after modifying the script. Any other suggestions Kind regards Gun Caundle --- Original Message ----- From: "Perry Lorier" <perry(a)coders.net> To: "Waikato Linux Users Group" <wlug(a)list.waikato.ac.nz> Sent: Saturday, April 24, 2004 11:12 AM Subject: Re: [wlug] Firewall script problem
This line is giving me some grief: 'iptables -A okay -p TCP -m state ESTABLISHED,RELATED -j ACCEPT' Because I get this error when I run it. 'firescript: line 23: ESTABLISHED,RELATED: command not found'
you forgot --state the correct syntax is iptables --append okay --protocol tcp -m state --state ESTABLISHES,RELATED --jump ACCEPT
:) _______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug