We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d045842 commit c190902Copy full SHA for c190902
roles/firewall/files/00-base
@@ -1,5 +1,5 @@
1
# clear all tables, not only filter
2
-for table in $(grep -oP '(?<=^iptable_)\S*' /proc/modules); do
+for table in $(iptables-save | grep '^' | cut -d'' -f2); do
3
ipt -t $table -F
4
ipt -t $table -X
5
done
0 commit comments