mirror of
https://github.com/bol-van/zapret.git
synced 2026-03-13 16:52:01 +00:00
autohostlist mode
This commit is contained in:
@@ -116,7 +116,7 @@ SOXIFIER_PORT=1099
|
||||
|
||||
create_ipset no-update
|
||||
|
||||
network_find_wan_all wan_iface
|
||||
network_find_wan4_all wan_iface
|
||||
for ext_iface in $wan_iface; do
|
||||
network_get_device ext_device $ext_iface
|
||||
ipt OUTPUT -t nat -o $ext_device -p tcp --dport 443 -m set --match-set zapret dst -m set ! --match-set nozapret dst -j REDIRECT --to-port $SOXIFIER_PORT
|
||||
|
||||
Reference in New Issue
Block a user