sing-box/docs/configuration/inbound/naive.zh.md

41 lines
496 B
Markdown
Raw Permalink Normal View History

### 结构
```json
{
2022-08-31 04:50:26 +00:00
"type": "naive",
"tag": "naive-in",
"network": "udp",
... // 监听字段
"users": [
{
2022-08-31 04:50:26 +00:00
"username": "sekai",
"password": "password"
}
2022-08-31 04:50:26 +00:00
],
"tls": {}
}
```
2022-08-31 04:50:26 +00:00
### 监听字段
参阅 [监听字段](/zh/configuration/shared/listen/)。
### 字段
#### network
监听的网络协议,`tcp` `udp` 之一。
默认所有。
#### users
==必填==
Naive 用户。
#### tls
2022-08-31 04:50:26 +00:00
TLS 配置, 参阅 [TLS](/zh/configuration/shared/tls/#inbound)。