iptables support?

jdow jdow at earthlink.net
Sat Dec 10 09:03:59 UTC 2005


From: "Res" <res at ausics.net>

> On Sat, 10 Dec 2005, jdow wrote:
> 
>> This leads off my set of rules:
>> echo "  Clearing any existing rules and setting default policy to DROP.."
>> $IPTABLES -F
>> $IPTABLES -P INPUT DROP
>> $IPTABLES -F INPUT
>> $IPTABLES -P OUTPUT DROP
>> $IPTABLES -F OUTPUT
>> $IPTABLES -P FORWARD DROP
>> $IPTABLES -F FORWARD
> 
> only need to do -F once no point in all the repeating you are doing, its 
> allready removed by initial -F

That's what I thought. I picked this sequence out of an example from
the netfilter.org site something like three years ago or more.

{^_^}




More information about the users mailing list