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

45 lines
593 B
Markdown
Raw Normal View History

2022-08-10 21:17:02 +08:00
### Structure
```json
{
2022-08-31 12:50:26 +08:00
"type": "naive",
"tag": "naive-in",
"network": "udp",
... // Listen Fields
"users": [
2022-08-10 21:17:02 +08:00
{
2022-08-31 12:50:26 +08:00
"username": "sekai",
"password": "password"
2022-08-10 21:17:02 +08:00
}
2022-08-31 12:50:26 +08:00
],
"tls": {}
2022-08-10 21:17:02 +08:00
}
```
!!! warning ""
2022-08-23 23:15:56 +08:00
HTTP3 transport is not included by default, see [Installation](/#installation).
2022-08-31 12:50:26 +08:00
### Listen Fields
See [Listen Fields](/configuration/shared/listen) for details.
### Fields
2022-08-23 23:15:56 +08:00
#### network
Listen network, one of `tcp` `udp`.
2022-08-23 23:15:56 +08:00
Both if empty.
2022-08-23 23:15:56 +08:00
#### users
==Required==
Naive users.
#### tls
2022-08-23 23:15:56 +08:00
2022-08-31 12:50:26 +08:00
TLS configuration, see [TLS](/configuration/shared/tls/#inbound).