Skip to content

Instantly share code, notes, and snippets.

@infoslack
Created June 13, 2014 21:13
Show Gist options
  • Save infoslack/cd61cd6aa356e138d674 to your computer and use it in GitHub Desktop.
Save infoslack/cd61cd6aa356e138d674 to your computer and use it in GitHub Desktop.
iptables
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -L -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment