2022-08-31 14:21:53 +08:00
|
|
|
#### Server
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"inbounds": [
|
|
|
|
{
|
|
|
|
"type": "shadowtls",
|
|
|
|
"listen": "::",
|
|
|
|
"listen_port": 4443,
|
2022-12-03 13:31:25 +08:00
|
|
|
"version": 2,
|
|
|
|
"password": "fuck me till the daylight",
|
2022-08-31 14:21:53 +08:00
|
|
|
"handshake": {
|
|
|
|
"server": "google.com",
|
|
|
|
"server_port": 443
|
|
|
|
},
|
|
|
|
"detour": "shadowsocks-in"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shadowsocks",
|
|
|
|
"tag": "shadowsocks-in",
|
|
|
|
"listen": "127.0.0.1",
|
|
|
|
"method": "2022-blake3-aes-128-gcm",
|
|
|
|
"password": "8JCsPssfgS8tiRwiMlhARg=="
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Client
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"outbounds": [
|
|
|
|
{
|
|
|
|
"type": "shadowsocks",
|
|
|
|
"method": "2022-blake3-aes-128-gcm",
|
|
|
|
"password": "8JCsPssfgS8tiRwiMlhARg==",
|
|
|
|
"detour": "shadowtls-out",
|
|
|
|
"multiplex": {
|
2022-09-02 19:03:37 +08:00
|
|
|
"enabled": true,
|
2022-08-31 14:21:53 +08:00
|
|
|
"max_connections": 4,
|
|
|
|
"min_streams": 4
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shadowtls",
|
|
|
|
"tag": "shadowtls-out",
|
|
|
|
"server": "127.0.0.1",
|
|
|
|
"server_port": 4443,
|
2022-12-03 13:31:25 +08:00
|
|
|
"version": 2,
|
|
|
|
"password": "fuck me till the daylight",
|
2022-08-31 14:21:53 +08:00
|
|
|
"tls": {
|
|
|
|
"enabled": true,
|
|
|
|
"server_name": "google.com"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2022-09-02 19:03:37 +08:00
|
|
|
```
|