TUN inbound: Add desc config for Windows ("Wintun" by default) (#6486)

https://github.com/XTLS/Xray-docs-next/pull/872#issuecomment-4936055488
This commit is contained in:
Jasper344612 authored and GitHub committed 2026-07-17 22:21:33 +00:00
1 parent e78d8ef184
commit 1d8eb81d70
5 files changed
+29 -9

No files matched your search

+6 -2
View File
@@ -31,13 +31,17 @@ Here is simple Xray config snippet to enable the inbound:
"port": 0,
"protocol": "tun",
"settings": {
"name": "xray0",
"MTU": 1492
"name": "utun10",
"desc": "Wintun",
"mtu": 1500
}
}
],
```
`desc` sets the Windows Wintun adapter tunnel type and defaults to `Wintun`.
It is ignored on other platforms.
## SUPPORTED FEATURES
- IPv4 and IPv6