Fix the cleanup of PREROUTING mangle chain
it was changed iby mistake to FORWARD by 82ec7bc3df
see discussion in PR #530
This commit is contained in:
parent
3b6b0ba1e3
commit
9239cf28c1
|
@ -18,7 +18,7 @@ fi
|
|||
#removing the MINIUPNPD chain for mangle
|
||||
if [ "$MDIRTY" = "${CHAIN}Chain" ]; then
|
||||
$IPTABLES -t mangle -F $CHAIN
|
||||
$IPTABLES -t mangle -D FORWARD -i $EXTIF -j $CHAIN
|
||||
$IPTABLES -t mangle -D PREROUTING -i $EXTIF -j $CHAIN
|
||||
$IPTABLES -t mangle -X $CHAIN
|
||||
elif [ "$MDIRTY" = "Chain" ]; then
|
||||
$IPTABLES -t mangle -F $CHAIN
|
||||
|
|
Loading…
Reference in New Issue