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
@@ -776,7 +776,7 @@
"autoSystemDnsToGateway": "System DNS to gateway",
"autoSystemDnsToGatewayTooltip": "Linux only: points systemd-resolved at the TUN gateway so system lookups go through Xray. Needs a gateway, and the TUN does not start if this fails.",
"autoSystemWfpBlockLeak": "Block leaks (WFP)",
"autoSystemWfpBlockLeakTooltip": "Windows only, with Auto system routes: dns keeps DNS (ports 53 and 853 and the DNS Client service) inside the TUN and needs DNS servers; windnsclient covers only that service; type tcp/PORT or udp/PORT for any other port; misconfigtun blocks an IP version that no route sends into the TUN.",
"autoSystemWfpBlockLeakTooltip": "Windows only, with Auto system routes: all blocks everything outside the TUN, allexceptlan does the same but keeps the local network reachable; dns keeps DNS (ports 53 and 853 and the DNS Client service) inside the TUN; windnsclient covers only that service; tcp, udp and icmp block a whole protocol; type tcp/PORT, udp/PORT, a bare PORT or a LOW-HIGH range for specific ports; a CIDR in front (1.1.1.0/24:53, [::/0]:all) limits a value to those addresses; misconfigtun blocks an IP version that no route sends into the TUN. Any value that covers port 53 needs DNS servers.",
"maxVersion": "Max version",
"headerName": "Header name",
"headerValue": "Header value"