mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-27 18:15:39 +08:00
1.1 KiB
1.1 KiB
Structure
{
"type": "shadowtls",
"tag": "st-out",
"server": "127.0.0.1",
"server_port": 1080,
"version": 3,
"password": "fuck me till the daylight",
"tls": {},
... // Dial Fields
}
Fields
server
==Required==
The server address.
server_port
==Required==
The server port.
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.
tls
==Required==
TLS configuration, see TLS.
Dial Fields
See Dial Fields for details.