mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-10-11 16:58:22 +03:00
Tun: Update TUN FD usage
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
|
||||
Creates a TUN interface; traffic sent to this interface will be processed by Xray. Currently, Windows, Linux, macOS, and FreeBSD are supported.
|
||||
|
||||
On Android, the TUN FD must be passed in from an external app, which uses VPN Service to redirect traffic. It cannot run standalone and only serves as a way for an app to feed traffic into Xray.
|
||||
On Android and iOS, the TUN FD must be passed in from an external app via the `XRAY_TUN_FD` environment variable, which redirects traffic through the interface designated by the system. It cannot run standalone and only serves as a way for an app to feed traffic into Xray.
|
||||
|
||||
On Linux, this environment variable can optionally be used to pass in the TUN FD for certain lightweight or unprivileged implementations.
|
||||
|
||||
## InboundConfigurationObject
|
||||
|
||||
|
||||
Reference in New Issue
Block a user