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
|
|
|
}
|
|
|
|
```
|
|
|
|
|
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
|
|
|
|
2022-08-24 10:43:39 +00:00
|
|
|
#### network
|
|
|
|
|
|
|
|
Listen network, one of `tcp` `udp`.
|
2022-08-23 15:15:56 +00:00
|
|
|
|
2022-08-24 10:43:39 +00:00
|
|
|
Both if empty.
|
2022-08-23 15:15:56 +00:00
|
|
|
|
|
|
|
#### users
|
|
|
|
|
|
|
|
==Required==
|
|
|
|
|
|
|
|
Naive users.
|
|
|
|
|
2022-08-24 10:43:39 +00:00
|
|
|
#### 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).
|