Browse Source

init.d: openwrt avoid possible duplicate input_rule_zapret rules

pull/81/head
bol-van 3 years ago
parent
commit
1855681657
  1. 1
      init.d/openwrt/functions

1
init.d/openwrt/functions

@ -241,6 +241,7 @@ fw_tpws4()
# allow localnet route only to special tpws IP
iptables -N input_rule_zapret 2>/dev/null
iptables -F input_rule_zapret
ipt input_rule_zapret -d 127.0.0.0/8 -j DROP
ipt input_rule_zapret -d $TPWS_LOCALHOST4 -j RETURN

Loading…
Cancel
Save