flushing IPTABLES

John L Fjellstad john-ubuntu at fjellstad.org
Sun Oct 29 03:30:22 UTC 2006


Noah <admin2 at enabled.com> writes:

> Is there a command that flushes all the defined iptables rules?

iptables -F

not that this doesn't change the policy, so if you have your policy to
DROP, and you flush all your rules while you log in using ssh...

-- 
John L. Fjellstad
web: http://www.fjellstad.org/          Quis custodiet ipsos custodes





More information about the ubuntu-users mailing list