mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-14 12:53:17 +00:00
60 lines
792 B
Markdown
60 lines
792 B
Markdown
### 结构
|
|
|
|
```json
|
|
{
|
|
"type": "vless",
|
|
"tag": "vless-in",
|
|
|
|
... // 监听字段
|
|
|
|
"users": [
|
|
{
|
|
"name": "sekai",
|
|
"uuid": "bf000d23-0752-40b4-affe-68f7707a9661",
|
|
"flow": ""
|
|
}
|
|
],
|
|
"tls": {},
|
|
"multiplex": {},
|
|
"transport": {}
|
|
}
|
|
```
|
|
|
|
### 监听字段
|
|
|
|
参阅 [监听字段](/zh/configuration/shared/listen/)。
|
|
|
|
### 字段
|
|
|
|
#### users
|
|
|
|
==必填==
|
|
|
|
VLESS 用户。
|
|
|
|
#### users.uuid
|
|
|
|
==必填==
|
|
|
|
VLESS 用户 ID。
|
|
|
|
#### users.flow
|
|
|
|
VLESS 子协议。
|
|
|
|
可用值:
|
|
|
|
* `xtls-rprx-vision`
|
|
|
|
#### tls
|
|
|
|
TLS 配置, 参阅 [TLS](/zh/configuration/shared/tls/#inbound)。
|
|
|
|
#### multiplex
|
|
|
|
参阅 [多路复用](/zh/configuration/shared/multiplex#inbound)。
|
|
|
|
#### transport
|
|
|
|
V2Ray 传输配置,参阅 [V2Ray 传输层](/zh/configuration/shared/v2ray-transport/)。
|