Re: Flushing iptables does not work. [message #49985 is a reply to message #49976] |
Wed, 17 July 2013 17:44  |
Paparaciz
Messages: 302 Registered: August 2009
|
Senior Member |
|
|
iptables -F have nothing to do if you change policy rule
with iptables -P INPUT DROP you define that INPUT always have to be droped. than you can just add rules with accept.
if you would add some rules (as example iptables -A INPUT -i venet0 -p icmp -j ACCEPT), than iptables -F will delete this rule.
if you want change policy rule, than you have to explicitly to do so, as example iptables -P INPUT ACCEPT.
|
|
|