mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-30 04:21:29 +00:00
39 lines
431 B
Markdown
39 lines
431 B
Markdown
|
### 结构
|
||
|
|
||
|
```json
|
||
|
{
|
||
|
"type": "shadowtls",
|
||
|
"tag": "st-out",
|
||
|
|
||
|
"server": "127.0.0.1",
|
||
|
"server_port": 1080,
|
||
|
"tls": {},
|
||
|
|
||
|
... // 拨号字段
|
||
|
}
|
||
|
```
|
||
|
|
||
|
### 字段
|
||
|
|
||
|
#### server
|
||
|
|
||
|
==必填==
|
||
|
|
||
|
服务器地址。
|
||
|
|
||
|
#### server_port
|
||
|
|
||
|
==必填==
|
||
|
|
||
|
服务器端口。
|
||
|
|
||
|
#### tls
|
||
|
|
||
|
==必填==
|
||
|
|
||
|
TLS 配置, 参阅 [TLS](/zh/configuration/shared/tls/#outbound)。
|
||
|
|
||
|
### 拨号字段
|
||
|
|
||
|
参阅 [拨号字段](/zh/configuration/shared/dial/)。
|