Skip to content

Instantly share code, notes, and snippets.

@scorredoira
Created May 8, 2020 14:58
Show Gist options
  • Save scorredoira/ce585ae29baea65a5b7874639545446c to your computer and use it in GitHub Desktop.
Save scorredoira/ce585ae29baea65a5b7874639545446c to your computer and use it in GitHub Desktop.
Reset iptables
iptables -F
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment