mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-09-22 22:38:05 +03:00
Tun: Refine autoOutboundsInterface desc
This commit is contained in:
@@ -61,6 +61,8 @@ userLevel 的值, 对应 [policy](../policy.md#policyobject) 中 `level` 的值.
|
||||
|
||||
自动为 Xray 的出站绑定物理网络接口,用于避免把 Xray 自己发出的流量再次送回 TUN 造成回环。
|
||||
|
||||
相当于为所有出站自动设置 [sockopt](../transports/sockopt.md).interface(同时还会额外包括一些无法配置出站设置的请求,比如 内置 DNS 的各种 local 模式)可以被手动设置 sockopt 覆盖。
|
||||
|
||||
默认值为 `null`,即未配置。可填写具体接口名,也可填写 `"auto"` 让 Xray 自动选择。如果配置了 `autoSystemRoutingTable` 但未显式指定此项,Xray 会自动按 `"auto"` 处理。
|
||||
|
||||
## 使用提示
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -61,6 +61,8 @@
|
||||
|
||||
Автоматически привязывает исходящие соединения Xray к физическому сетевому интерфейсу, чтобы трафик, создаваемый самим Xray, не отправлялся обратно в TUN и не образовывал петлю.
|
||||
|
||||
Эквивалентно автоматической установке [sockopt](../transports/sockopt.md).interface для всех исходящих соединений (при этом дополнительно охватывает и некоторые запросы, для которых нельзя настроить параметры исходящего соединения, например различные локальные режимы встроенного DNS); может быть переопределено вручную заданным sockopt.
|
||||
|
||||
Значение по умолчанию — `null`, то есть параметр не задан. Можно указать конкретное имя интерфейса или `"auto"`, чтобы Xray выбрал его автоматически. Если задан `autoSystemRoutingTable`, но это поле явно не указано, Xray будет обрабатывать его как `"auto"`.
|
||||
|
||||
## Советы по использованию
|
||||
|
||||
Reference in New Issue
Block a user