From 78498a7bd7c859de15a5898a955a5cdc1d1fd1e6 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 7 May 2022 16:08:55 +0300 Subject: [PATCH] https.txt : fix wrong ifname set --- docs/https.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/https.txt b/docs/https.txt index e365eb6..bd4f5b9 100644 --- a/docs/https.txt +++ b/docs/https.txt @@ -177,8 +177,8 @@ cat << EOF | nft -f - add chain inet $ZAPRET_NFT_TABLE my_prerouting { type nat hook prerouting priority -102; } flush chain inet $ZAPRET_NFT_TABLE my_prerouting - add rule inet $ZAPRET_NFT_TABLE my_prerouting oifname @wanif meta l4proto tcp ip daddr @ipban dnat to 127.0.0.1:$SOXIFIER_PORT - add rule inet $ZAPRET_NFT_TABLE my_prerouting oifname @wanif tcp dport 443 ip daddr @zapret dnat to 127.0.0.1:$SOXIFIER_PORT + add rule inet $ZAPRET_NFT_TABLE my_prerouting iifname @lanif meta l4proto tcp ip daddr @ipban dnat to 127.0.0.1:$SOXIFIER_PORT + add rule inet $ZAPRET_NFT_TABLE my_prerouting iifname @lanif tcp dport 443 ip daddr @zapret dnat to 127.0.0.1:$SOXIFIER_PORT EOF ----------------------------