I'm trying to run the following command:
sudo /usr/sbin/iptables -A INPUT -m state --state NEW -i ! wlan0 -j ACCEPT
But i got this error:
Bad argument
wlan0' Try
iptables -h' or 'iptables --help' for more information.
I don't know what is wrong, the man says that you have to put a "!" before the conection adapter (in this case is wlan0)