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

45 lines
593 B
Markdown
Raw Normal View History

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