X-Git-Url: http://lab.mitty.jp/git/?a=blobdiff_plain;f=iptables%2Fsetfilter;fp=iptables%2Fsetfilter;h=b953a5eb2fb79e9cb4fe1392b851f36b3b8b0fcd;hb=71b798cb5d5acf287fe80c4c343c6fe703e19c0c;hp=4b31e853f9e7f407bf3f8394a0cdcaa1493112ad;hpb=49996391c0a72e72d2f07c9959e94f6036d621bb;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"