block all trafic from input

Taylor Grant gtaylor at
Sat Apr 23 20:06:34 CEST 2005

> iptables -P INPUT DROP

Don't do it from an SSH session though.  You will regret that if you don't have any prior rules to allow you back in.

Grant. . . .

More information about the netfilter mailing list