Commit 82fe1b17 authored by Levin Zimmermann's avatar Levin Zimmermann

playbook: Fix missing iptables reset

parent 9011f6a5
...@@ -7,6 +7,7 @@ echo "Update firewall. Close all ports except SSH ports." ...@@ -7,6 +7,7 @@ echo "Update firewall. Close all ports except SSH ports."
# Remove all existing rules # Remove all existing rules
iptables -F iptables -F
ip6tables -F
# Allow SSH access # Allow SSH access
iptables -A INPUT -p tcp --dport 22 -j ACCEPT iptables -A INPUT -p tcp --dport 22 -j ACCEPT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment