iptables

Charles Rishel chaz03 at localnet.com
Wed Aug 6 20:31:48 EDT 2003


The -P is an option for the protocol.. the reason it is likely giving you 
that error is because you specified no protocol like tcp,icmp,udp and so on..
Try that command with one of the protocols after the P and you should be 
all set.

Hope this helps.

Chaz03

At 11:43 AM 8/6/03 -0700, you wrote:
>trying to set the default policy on the input chain to
>drop in RH9
>  tried  iptables -P INPUT DROP
>         iptables -P INPUT -j DROP
>
>gives an errors in relation to the "-p INPUT"
>   like bad argument, built in chain
>
>will allow me to add rules but won't allo me to set
>default policy.....any ideas
>
>rays
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free, easy-to-use web site design software
>http://sitebuilder.yahoo.com

"If you want others to follow, give them leadership that they can believe in."




More information about the nflug mailing list