Skip to content

Instantly share code, notes, and snippets.

@mims92
Last active February 19, 2018 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mims92/70d949b3b05e8c6c6c183ede6c67902e to your computer and use it in GitHub Desktop.
Save mims92/70d949b3b05e8c6c6c183ede6c67902e to your computer and use it in GitHub Desktop.
Linux-Empty_iptables.sh
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
iptables -L
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment