feat(xray): offer the new TUN autoSystemWfpBlockLeak values

xray-core 26.11.9 (#7315) added "all", "allexceptlan", "tcp", "udp" and
"icmp", bare ports, port ranges and a CIDR prefix in front of any value.
The save-time check already runs the core's own parser, so the typed forms
are accepted as they are; the form now lists the new named values and the
tooltip explains them in all 14 locales.
This commit is contained in:
Sanaei
2026-11-12 19:10:19 +01:00
parent a748f799c7
commit bf2d0ada8b
15 changed files with 25 additions and 19 deletions
+1 -1
View File
@@ -775,7 +775,7 @@
"autoSystemDnsToGateway": "系统 DNS 指向网关",
"autoSystemDnsToGatewayTooltip": "仅限 Linux:将 systemd-resolved 指向 TUN 网关,使系统解析经过 Xray。需要设置网关,失败时 TUN 不会启动。",
"autoSystemWfpBlockLeak": "阻止泄漏 (WFP)",
"autoSystemWfpBlockLeakTooltip": "仅限 Windows,需配合自动系统路由:dns 让 DNS(端口 53、853 及 DNS Client 服务)只走 TUN,需设置 DNS 服务器;windnsclient 只针对该服务;其他端口请输入 tcp/端口 或 udp/端口;misconfigtun 阻止没有任何路由指向 TUN 的 IP 版本。",
"autoSystemWfpBlockLeakTooltip": "仅限 Windows,需配合自动系统路由:all 阻止 TUN 之外的一切流量,allexceptlan 同样如此但保留本地网络可达;dns 让 DNS(端口 53、853 及 DNS Client 服务)只走 TUN;windnsclient 只针对该服务;tcp、udp、icmp 阻止整个协议;指定端口请输入 tcp/端口、udp/端口、单独的端口或 起-止 范围;在前面加 CIDR(1.1.1.0/24:53、[::/0]:all)可将该值限定于这些地址;misconfigtun 阻止没有任何路由指向 TUN 的 IP 版本。凡是涵盖端口 53 的值都需设置 DNS 服务器。",
"maxVersion": "最高版本",
"headerName": "标头名称",
"headerValue": "标头值"