Linux Guru helpLocked
I was doing a personalized firewall and I came up with this command through a book.
iptables –flush -t nat
iptables -A OUTPUT -j ACCEPT -o lo
iptables -A INPUT -j ACCEPT -i lo
iptables -A INPUT -i ppp0 -j DROP
iptables -A OUTPUT -o ppp0 -j DROP
I have no problem executing the previous codes but with the codes below, it prompted an error.
iptables -A OUTPUT -m state -state NEW, RELATED, ESTABLISHED -j ACCEPT
iptables -A INPUT -m state –state RELATED, ESTABLISHED -j ACCEPT
Bad Argument ‘NEW,’
I am asking the Linux gurus to comment on this code. WHAT COULD THE PROBLEM WITH THE COMMAND. I have followed carefully the book but still it prompted me an error. I am stucked here and need help.