Tun: Refine autoOutboundsInterface desc

This commit is contained in:
Fangliding
2026-06-23 00:59:06 +08:00
parent 3b86800e60
commit e7e289a35f
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -61,6 +61,8 @@ Currently only supported on Windows. On other systems, the routing table must be
Automatically binds Xray outbounds to a physical network interface, so that traffic generated by Xray itself is not sent back into the TUN interface and looped.
Equivalent to automatically setting [sockopt](../transports/sockopt.md).interface for all outbounds (it also additionally covers some requests that cannot have outbound settings configured, such as the various local modes of the built-in DNS), which can be overridden by manually set sockopt.
The default value is `null`, which means not configured. You can specify an interface name explicitly, or use `"auto"` to let Xray choose one automatically. If `autoSystemRoutingTable` is configured but this field is omitted, Xray treats it as `"auto"`.
## Usage Tips