Files
sing-box-extended-mirror/docs/configuration/inbound/naive.zh.md
T

45 lines
584 B
Markdown
Raw Normal View History

2022-08-24 18:43:39 +08:00
### 结构
```json
{
2022-08-31 12:50:26 +08:00
"type": "naive",
"tag": "naive-in",
"network": "udp",
... // 监听字段
"users": [
2022-08-24 18:43:39 +08:00
{
2022-08-31 12:50:26 +08:00
"username": "sekai",
"password": "password"
2022-08-24 18:43:39 +08:00
}
2022-08-31 12:50:26 +08:00
],
"tls": {}
2022-08-24 18:43:39 +08:00
}
```
!!! warning ""
2022-08-26 11:10:02 +08:00
默认安装不包含 HTTP3 传输层, 参阅 [安装](/zh/#_2)。
2022-08-24 18:43:39 +08:00
2022-08-31 12:50:26 +08:00
### 监听字段
参阅 [监听字段](/zh/configuration/shared/listen/)。
### 字段
2022-08-24 18:43:39 +08:00
#### network
监听的网络协议,`tcp` `udp` 之一。
默认所有。
#### users
==必填==
2022-08-25 09:45:22 +08:00
Naive 用户。
2022-08-24 18:43:39 +08:00
#### tls
2022-08-31 12:50:26 +08:00
TLS 配置, 参阅 [TLS](/zh/configuration/shared/tls/#inbound)。