sing-box/docs/configuration/inbound/shadowtls.md
2022-10-06 23:33:57 +08:00

1,007 B

Structure

{
  "type": "shadowtls",
  "tag": "st-in",

  ... // Listen Fields

  "version": 2,
  "password": "fuck me till the daylight",
  "handshake": {
    "server": "google.com",
    "server_port": 443,
    
    ... // Dial Fields
  }
}

Listen Fields

See Listen Fields for details.

Fields

version

ShadowTLS protocol version.

Value Protocol Version
1 (default) ShadowTLS v1
2 ShadowTLS v2

password

Set password.

Only available in the ShadowTLS v2 protocol.

handshake

==Required==

Handshake server address and Dial options.