mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-15 17:45:03 +03:00
feat(inbounds): TUN adapter type and auto-system options
xray-core 26.9 added three TUN settings the inbound form could not set: - desc, the tunnel type a new Wintun adapter is created with on Windows. The settings schema did not list it, so the parse stripped it and a value entered as JSON vanished on the next save; - autoSystemDnsToGateway (Linux), which points systemd-resolved at the TUN gateway; - autoSystemWfpBlockLeak (Windows), whose dns / misconfigtun filters keep traffic from leaking past the TUN. The tooltips name the platform each one acts on and what it needs, since the core refuses to build or start the TUN otherwise.
This commit is contained in:
@@ -723,7 +723,13 @@
|
||||
"masque": {
|
||||
"addressPool": "Address pool",
|
||||
"addressPoolDesc": "Tunnel addresses are leased from these prefixes — at most one IPv4 and one IPv6."
|
||||
}
|
||||
},
|
||||
"tunDesc": "Adapter type",
|
||||
"tunDescTooltip": "Windows only: the tunnel type a new Wintun adapter is created with. Empty means Wintun.",
|
||||
"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 inside the TUN (needs DNS servers), misconfigtun blocks an IP version that no route sends into the TUN."
|
||||
},
|
||||
"info": {
|
||||
"mode": "Mode",
|
||||
|
||||
Reference in New Issue
Block a user