Re: Iptables Tutorial 1.1.19 by Oskar Andreasson

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le ven 12/09/2003 à 18:50, Michael Anderson a écrit :
> I have recieved an error called: "Unknown arg
> `--state'" from linux 

You have to call a match before you try to use its options. --state
belongs to state module, so you have to call it before, using -m.

cbr@elendil:~$ sudo iptables -A INPUT --state NEW -j ACCEPT
iptables v1.2.8: Unknown arg `--state'
Try `iptables -h' or 'iptables --help' for more information.
cbr@elendil:~$ sudo iptables -A INPUT -m state --state NEW -j ACCEPT

So use "-m state --state [etc.]".

-- 
http://www.netexit.com/~sid/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux