University Crest

[wlug] Firewall script problem

 
wlug archive index About the wlug list Mailing lists home
To The University of Waikato HomepageWaikato Home > Waikato Mailing Lists > wlug Info > wlug archives
Perry Lorier perry@c...
Sat Apr 24 11:12:03 NZST 2004


> 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

:)



More information about the wlug mailing list
NOTICE: This is an archive of a public mailing list. The University of Waikato is not responsible for its contents.

The University of Waikato - Te Whare Wananga o Waikato