sing-box/docs/configuration/inbound/naive.md
2023-12-18 22:27:12 +08:00

493 B

Structure

{
  "type": "naive",
  "tag": "naive-in",
  "network": "udp",

  ... // Listen Fields

  "users": [
    {
      "username": "sekai",
      "password": "password"
    }
  ],
  "tls": {}
}

Listen Fields

See Listen Fields for details.

Fields

network

Listen network, one of tcp udp.

Both if empty.

users

==Required==

Naive users.

tls

TLS configuration, see TLS.