mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-23 00:51:29 +00:00
5813e0ce7a
* Add shadowtls outbound * Add shadowtls inbound * Add shadowtls example * Add shadowtls documentation
32 lines
399 B
Markdown
32 lines
399 B
Markdown
### Structure
|
|
|
|
```json
|
|
{
|
|
"type": "shadowtls",
|
|
"tag": "st-in",
|
|
|
|
... // Listen Fields
|
|
|
|
"handshake": {
|
|
"server": "google.com",
|
|
"server_port": 443,
|
|
|
|
... // Dial Fields
|
|
}
|
|
}
|
|
```
|
|
|
|
### Listen Fields
|
|
|
|
See [Listen Fields](/configuration/shared/listen) for details.
|
|
|
|
|
|
### Fields
|
|
|
|
#### handshake
|
|
|
|
==Required==
|
|
|
|
Handshake server address and [dial options](/configuration/shared/dial).
|
|
|