Iptables execute the Purge command iptables-f be very careful.
http://blog.csdn.net/netingcn/article/details/5692972
Use/sbin/iptables-f be careful, you'll be disconnected from the server immediately.
Here are the instructions from Http://wiki.ubuntu.org.cn/IptablesHowTo
You can temporarily stop the firewall by/SBIN/IPTABLES-F clearing all rules: (Warning: This is only appropriate in environments where the firewall is not configured, and if the default rule is deny, this step will break all network access for the system)
If you want to empty it, do it first.
/sbin/iptables-p INPUT ACCEPT
And then execute
/sbin/iptables-f
See the following information through Iptables-l
Chain INPUT (Policy drop 0 packets, 0 bytes) (note is drop)
Execution/sbin/iptables-f must immediately disconnect
When executed the
/sbin/iptables-p INPUT ACCEPT
Once again through the iptables-l to see the message is
Chain FORWARD (Policy ACCEPT 0 packets, 0 bytes)
So now it's safe to use.
/sbin/iptables-f.
Iptables execute the Purge command iptables-f be very careful.