2022-08-24 10:43:39 +00:00
|
|
|
|
### 结构
|
|
|
|
|
|
|
|
|
|
```json
|
|
|
|
|
{
|
2022-08-31 04:50:26 +00:00
|
|
|
|
"type": "vmess",
|
|
|
|
|
"tag": "vmess-in",
|
|
|
|
|
|
|
|
|
|
... // 监听字段
|
|
|
|
|
|
|
|
|
|
"users": [
|
2022-08-24 10:43:39 +00:00
|
|
|
|
{
|
2022-08-31 04:50:26 +00:00
|
|
|
|
"name": "sekai",
|
|
|
|
|
"uuid": "bf000d23-0752-40b4-affe-68f7707a9661",
|
|
|
|
|
"alterId": 0
|
2022-08-24 10:43:39 +00:00
|
|
|
|
}
|
2022-08-31 04:50:26 +00:00
|
|
|
|
],
|
|
|
|
|
"tls": {},
|
2023-11-08 04:09:22 +00:00
|
|
|
|
"multiplex": {},
|
2022-08-31 04:50:26 +00:00
|
|
|
|
"transport": {}
|
2022-08-24 10:43:39 +00:00
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
2022-08-31 04:50:26 +00:00
|
|
|
|
### 监听字段
|
|
|
|
|
|
|
|
|
|
参阅 [监听字段](/zh/configuration/shared/listen/)。
|
|
|
|
|
|
|
|
|
|
### 字段
|
2022-08-24 10:43:39 +00:00
|
|
|
|
|
|
|
|
|
#### users
|
|
|
|
|
|
|
|
|
|
==必填==
|
|
|
|
|
|
2022-08-25 01:45:22 +00:00
|
|
|
|
VMess 用户。
|
2022-08-24 10:43:39 +00:00
|
|
|
|
|
|
|
|
|
| Alter ID | 描述 |
|
|
|
|
|
|----------|-------|
|
|
|
|
|
| 0 | 禁用旧协议 |
|
|
|
|
|
| > 0 | 启用旧协议 |
|
|
|
|
|
|
|
|
|
|
!!! warning ""
|
|
|
|
|
|
|
|
|
|
提供旧协议支持(VMess MD5 身份验证)仅出于兼容性目的,不建议使用 alterId > 1。
|
|
|
|
|
|
|
|
|
|
#### tls
|
|
|
|
|
|
2022-08-25 01:45:22 +00:00
|
|
|
|
TLS 配置, 参阅 [TLS](/zh/configuration/shared/tls/#inbound)。
|
2022-08-24 10:43:39 +00:00
|
|
|
|
|
2023-11-08 04:09:22 +00:00
|
|
|
|
#### multiplex
|
|
|
|
|
|
|
|
|
|
参阅 [多路复用](/zh/configuration/shared/multiplex#inbound)。
|
|
|
|
|
|
2022-08-24 10:43:39 +00:00
|
|
|
|
#### transport
|
|
|
|
|
|
2023-12-14 14:23:52 +00:00
|
|
|
|
V2Ray 传输配置,参阅 [V2Ray 传输层](/zh/configuration/shared/v2ray-transport/)。
|