mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-24 22:32:58 +03:00
allow to specify protocol in helper function, do not fix tcp
This commit is contained in:
@@ -26,7 +26,7 @@ zapret_custom_firewall()
|
||||
|
||||
zapret_do_firewall_rules_ipt $1
|
||||
|
||||
f4="--dport $MY_DPORT"
|
||||
f4="-p tcp --dport $MY_DPORT"
|
||||
f6=$f4
|
||||
filter_apply_ipset_target f4 f6
|
||||
fw_tpws $1 "$f4" "$f6" $MY_TPPORT
|
||||
|
Reference in New Issue
Block a user