diff --git a/config/firewall/rules.pl b/config/firewall/rules.pl index 20f97bef0..75a9357f6 100755 --- a/config/firewall/rules.pl +++ b/config/firewall/rules.pl @@ -564,8 +564,8 @@ sub p2pblock { } close(FILE); + run("$IPTABLES -F P2PBLOCK"); if (@protocols) { - run("$IPTABLES -F P2PBLOCK"); run("$IPTABLES -A P2PBLOCK -m ipp2p @protocols -j DROP"); } }