2022-09-13 11:24:33 +08:00
|
|
|
### Structure
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"type": "vless",
|
|
|
|
"tag": "vless-out",
|
|
|
|
|
|
|
|
"server": "127.0.0.1",
|
|
|
|
"server_port": 1080,
|
|
|
|
"uuid": "bf000d23-0752-40b4-affe-68f7707a9661",
|
2023-02-25 16:24:08 +08:00
|
|
|
"flow": "xtls-rprx-vision",
|
2022-09-13 11:24:33 +08:00
|
|
|
"network": "tcp",
|
|
|
|
"tls": {},
|
|
|
|
"packet_encoding": "",
|
|
|
|
"transport": {},
|
|
|
|
|
|
|
|
... // Dial Fields
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
### Fields
|
|
|
|
|
|
|
|
#### server
|
|
|
|
|
|
|
|
==Required==
|
|
|
|
|
|
|
|
The server address.
|
|
|
|
|
|
|
|
#### server_port
|
|
|
|
|
|
|
|
==Required==
|
|
|
|
|
|
|
|
The server port.
|
|
|
|
|
|
|
|
#### uuid
|
|
|
|
|
|
|
|
==Required==
|
|
|
|
|
|
|
|
The VLESS user id.
|
|
|
|
|
2023-02-25 16:24:08 +08:00
|
|
|
#### flow
|
|
|
|
|
|
|
|
VLESS Sub-protocol.
|
|
|
|
|
|
|
|
Available values:
|
|
|
|
|
|
|
|
* `xtls-rprx-vision`
|
|
|
|
|
2022-09-13 11:24:33 +08:00
|
|
|
#### network
|
|
|
|
|
|
|
|
Enabled network
|
|
|
|
|
|
|
|
One of `tcp` `udp`.
|
|
|
|
|
|
|
|
Both is enabled by default.
|
|
|
|
|
|
|
|
#### tls
|
|
|
|
|
|
|
|
TLS configuration, see [TLS](/configuration/shared/tls/#outbound).
|
|
|
|
|
|
|
|
#### packet_encoding
|
|
|
|
|
2023-02-28 20:27:30 +08:00
|
|
|
UDP packet encoding, xudp is used by default.
|
|
|
|
|
2022-09-13 11:24:33 +08:00
|
|
|
| Encoding | Description |
|
|
|
|
|------------|-----------------------|
|
|
|
|
| (none) | Disabled |
|
|
|
|
| packetaddr | Supported by v2ray 5+ |
|
|
|
|
| xudp | Supported by xray |
|
|
|
|
|
|
|
|
#### transport
|
|
|
|
|
|
|
|
V2Ray Transport configuration, see [V2Ray Transport](/configuration/shared/v2ray-transport).
|
|
|
|
|
|
|
|
### Dial Fields
|
|
|
|
|
|
|
|
See [Dial Fields](/configuration/shared/dial) for details.
|