Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
# Clean up iptables persistent
> /etc/iptables/rules.v4
> /etc/iptables/rules.v6
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t nat -F
iptables -t mangle -F
iptables -F
iptables -X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment