mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-27 01:15:39 +08:00
1.1 KiB
1.1 KiB
Structure
{
"type": "shadowtls",
"tag": "st-in",
... // Listen Fields
"version": 3,
"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 |
3 |
ShadowTLS v3 |
password
Set password.
Only available in the ShadowTLS v2/v3 protocol.
handshake
==Required==
Handshake server address and Dial options.