bbruns 7 년 전
부모
커밋
a9785117bb
  1. 5
      lib/iptables.inc

5
lib/iptables.inc

@ -38,14 +38,13 @@ function iptables_rules_flush {
${VER_IPTABLES} -F INPUT &>/dev/null
${VER_IPTABLES} -F OUTPUT &>/dev/null
${VER_IPTABLES} -F FORWARD &>/dev/null
#${VER_IPTABLES} -t nat -F &>/dev/null
#${VER_IPTABLES} -t nat -X &>/dev/null
${VER_IPTABLES} -t nat -F &>/dev/null
${VER_IPTABLES} -t nat -X &>/dev/null
${VER_IPTABLES} -t mangle -F &>/dev/null
${VER_IPTABLES} -t mangle -X &>/dev/null
for i in `cat $TABLE_NAMES`; do
${VER_IPTABLES} -F -t $i &>/dev/null
done
${VER_IPTABLES} -X &>/dev/null
}
# iptables_policy_set (ipv6|ipv4) (ACCEPT|DROP)

불러오는 중...
취소
저장