X-Git-Url: http://lab.mitty.jp/git/?a=blobdiff_plain;f=iptables%2Fsetfilter;h=b953a5eb2fb79e9cb4fe1392b851f36b3b8b0fcd;hb=3a5184c7b3a10b965dc4c8aa112251f8b756da8a;hp=4b31e853f9e7f407bf3f8394a0cdcaa1493112ad;hpb=c1094188ede7a1445e590417ab77e4020724332c;p=lab.git diff --git a/iptables/setfilter b/iptables/setfilter index 4b31e85..b953a5e 100755 --- a/iptables/setfilter +++ b/iptables/setfilter @@ -33,7 +33,7 @@ start) log_action_begin_msg "Setting network filter" error="" - tables="raw mangle" + tables="raw mangle nat" for table in $tables do RULES="$RULES_PATH/$table.rules" @@ -73,7 +73,7 @@ stop) log_action_begin_msg "Stopping network filter" error="" - tables="raw mangle" + tables="raw mangle nat" for table in $tables do iptables -F -t $table || error="yes"