From 18232fb5489bc435dd7f8050a4fdd68bac3ee0c8 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sun, 19 Jun 2022 16:17:36 +0300 Subject: [PATCH] wireguard, redsocks: nozapret notice --- docs/redsocks.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/redsocks.txt b/docs/redsocks.txt index 99feb23..04c4568 100644 --- a/docs/redsocks.txt +++ b/docs/redsocks.txt @@ -119,8 +119,8 @@ done prepare_route_localnet -ipt prerouting_lan_rule -t nat -p tcp --dport 443 -m set --match-set zapret dst -j DNAT --to $TPWS_LOCALHOST4:$SOXIFIER_PORT -ipt prerouting_lan_rule -t nat -p tcp -m set --match-set ipban dst -j DNAT --to $TPWS_LOCALHOST4:$SOXIFIER_PORT +ipt prerouting_lan_rule -t nat -p tcp --dport 443 -m set --match-set zapret dst -m set ! --match-set nozapret -j DNAT --to $TPWS_LOCALHOST4:$SOXIFIER_PORT +ipt prerouting_lan_rule -t nat -p tcp -m set --match-set ipban dst -m set ! --match-set nozapret -j DNAT --to $TPWS_LOCALHOST4:$SOXIFIER_PORT ---------------------------- Внести параметр "reload" в указанное место :