bbruns 2014-04-12 20:32:18 +00:00
parent db3500d2bc
commit 4c5333bfd6
1 changed files with 5 additions and 5 deletions

View File

@ -38,13 +38,13 @@ function iptables_rules_flush {
${VER_IPTABLES} -F INPUT &>/dev/null ${VER_IPTABLES} -F INPUT &>/dev/null
${VER_IPTABLES} -F OUTPUT &>/dev/null ${VER_IPTABLES} -F OUTPUT &>/dev/null
${VER_IPTABLES} -F FORWARD &>/dev/null ${VER_IPTABLES} -F FORWARD &>/dev/null
${VER_IPTABLES} -t nat -F &>/dev/null #${VER_IPTABLES} -t nat -F &>/dev/null
${VER_IPTABLES} -t nat -X &>/dev/null #${VER_IPTABLES} -t nat -X &>/dev/null
${VER_IPTABLES} -t mangle -F &>/dev/null ${VER_IPTABLES} -t mangle -F &>/dev/null
${VER_IPTABLES} -t mangle -X &>/dev/null ${VER_IPTABLES} -t mangle -X &>/dev/null
#for i in `cat $TABLE_NAMES`; do for i in `cat $TABLE_NAMES`; do
# ${VER_IPTABLES} -F -t $i &>/dev/null ${VER_IPTABLES} -F -t $i &>/dev/null
#done done
#${VER_IPTABLES} -X #${VER_IPTABLES} -X
} }