mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-30 04:21:29 +00:00
45 lines
593 B
Markdown
45 lines
593 B
Markdown
### Structure
|
|
|
|
```json
|
|
{
|
|
"type": "naive",
|
|
"tag": "naive-in",
|
|
"network": "udp",
|
|
|
|
... // Listen Fields
|
|
|
|
"users": [
|
|
{
|
|
"username": "sekai",
|
|
"password": "password"
|
|
}
|
|
],
|
|
"tls": {}
|
|
}
|
|
```
|
|
|
|
!!! warning ""
|
|
|
|
HTTP3 transport is not included by default, see [Installation](/#installation).
|
|
|
|
### Listen Fields
|
|
|
|
See [Listen Fields](/configuration/shared/listen) for details.
|
|
|
|
### Fields
|
|
|
|
#### network
|
|
|
|
Listen network, one of `tcp` `udp`.
|
|
|
|
Both if empty.
|
|
|
|
#### users
|
|
|
|
==Required==
|
|
|
|
Naive users.
|
|
|
|
#### tls
|
|
|
|
TLS configuration, see [TLS](/configuration/shared/tls/#inbound). |