General discussion
Thread display: Collapse - |
All Comments
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Linux Guru help
iptables --flush
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
Error:
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.
Thanks.