From 759c36783738c4b9d432c69332eb90423a491fb8 Mon Sep 17 00:00:00 2001 From: jelly21fish <131505153+jelly21fish@users.noreply.github.com> Date: Mon, 24 Jun 2024 00:49:03 +0800 Subject: [PATCH] fix --- scripts/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start.sh b/scripts/start.sh index 2512287..8fa8b91 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -1159,7 +1159,7 @@ start_nft_route() { #nftables-route通用工具 } elif [ "$ipv6_redir" = "已开启" -a "$1" = 'output' -a \( "$firewall_area" = 2 -o "$firewall_area" = 3 \) ]; then RESERVED_IP6="$(echo "$reserve_ipv6 $host_ipv6" | sed 's/ /, /g')" - HOST_IP6="::1, $(echo $local_ipv6 | sed 's/ /, /g')" + HOST_IP6="::1, $(echo $host_ipv6 | sed 's/ /, /g')" #过滤保留地址及本机地址 nft add rule inet shellcrash $1 ip6 daddr {$RESERVED_IP6} return #仅代理本机局域网网段流量