How To Disable iptables Completely
erics, Posted October 2nd, 2013 at 8:39:47pm
List current iptables entries: iptables -L
/etc/init.d/firewall stop
~or~
/etc/init.d/iptables stop
~or~
fwstop.sh
1 2 3 4 5 6 7 8 9 10 11 |
#!/bin/sh 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 |
Leave Your Comment
All fields marked with "*" are required.