Saturday, August 30, 2014

iptables : disable firewall

https://help.ubuntu.com/community/IptablesHowTo#Disabling_the_firewall

echo "Stopping firewall and allowing everyone..."
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT

No comments:

Related Posts Plugin for WordPress, Blogger...