Add purge/delete rules for raw on flush

master
Brie Bruns 2019-07-12 13:14:51 -06:00
parent be7e18539f
commit 1bfe6ded80
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ function iptables_rules_flush {
${VER_IPTABLES} -t nat -X &>/dev/null
${VER_IPTABLES} -t mangle -F &>/dev/null
${VER_IPTABLES} -t mangle -X &>/dev/null
${VER_IPTABLES} -t raw -F &>/dev/null
${VER_IPTABLES} -t raw -X &>/dev/null
for i in `cat $TABLE_NAMES`; do
${VER_IPTABLES} -F -t $i &>/dev/null
done