diff --git a/roles/firewall/files/00-base b/roles/firewall/files/00-base index 5242d22d..2faa4893 100644 --- a/roles/firewall/files/00-base +++ b/roles/firewall/files/00-base @@ -1,5 +1,5 @@ # clear all tables, not only filter -for table in $(iptables-save | grep '^' | cut -d'' -f2); do +for table in $(iptables-save | grep '^*' | cut -d'*' -f2); do ipt -t $table -F ipt -t $table -X done