2022-07-08 18:48:43 +08:00
|
|
|
### Structure
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
2022-08-31 13:21:29 +08:00
|
|
|
"type": "shadowsocks",
|
|
|
|
"tag": "ss-out",
|
|
|
|
|
|
|
|
"server": "127.0.0.1",
|
|
|
|
"server_port": 1080,
|
|
|
|
"method": "2022-blake3-aes-128-gcm",
|
|
|
|
"password": "8JCsPssfgS8tiRwiMlhARg==",
|
|
|
|
"network": "udp",
|
|
|
|
"udp_over_tcp": false,
|
|
|
|
"multiplex": {},
|
|
|
|
|
|
|
|
... // Dial Fields
|
2022-07-08 18:48:43 +08:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2022-08-31 13:21:29 +08:00
|
|
|
### Fields
|
2022-07-08 18:48:43 +08:00
|
|
|
|
|
|
|
#### server
|
|
|
|
|
2022-07-09 09:26:50 +08:00
|
|
|
==Required==
|
|
|
|
|
2022-07-08 18:48:43 +08:00
|
|
|
The server address.
|
|
|
|
|
|
|
|
#### server_port
|
|
|
|
|
2022-07-09 09:26:50 +08:00
|
|
|
==Required==
|
|
|
|
|
2022-07-08 18:48:43 +08:00
|
|
|
The server port.
|
|
|
|
|
|
|
|
#### method
|
|
|
|
|
2022-07-09 09:26:50 +08:00
|
|
|
==Required==
|
|
|
|
|
2022-07-08 18:48:43 +08:00
|
|
|
Encryption methods:
|
|
|
|
|
|
|
|
* `2022-blake3-aes-128-gcm`
|
|
|
|
* `2022-blake3-aes-256-gcm`
|
|
|
|
* `2022-blake3-chacha20-poly1305`
|
|
|
|
* `none`
|
|
|
|
* `aes-128-gcm`
|
|
|
|
* `aes-192-gcm`
|
|
|
|
* `aes-256-gcm`
|
|
|
|
* `chacha20-ietf-poly1305`
|
|
|
|
* `xchacha20-ietf-poly1305`
|
|
|
|
|
|
|
|
Legacy encryption methods:
|
|
|
|
|
|
|
|
* `aes-128-ctr`
|
|
|
|
* `aes-192-ctr`
|
|
|
|
* `aes-256-ctr`
|
|
|
|
* `aes-128-cfb`
|
|
|
|
* `aes-192-cfb`
|
|
|
|
* `aes-256-cfb`
|
|
|
|
* `rc4-md5`
|
|
|
|
* `chacha20-ietf`
|
|
|
|
* `xchacha20`
|
|
|
|
|
|
|
|
#### password
|
|
|
|
|
2022-07-09 09:26:50 +08:00
|
|
|
==Required==
|
|
|
|
|
2022-07-08 18:48:43 +08:00
|
|
|
The shadowsocks password.
|
|
|
|
|
|
|
|
#### network
|
|
|
|
|
|
|
|
Enabled network
|
|
|
|
|
|
|
|
One of `tcp` `udp`.
|
|
|
|
|
|
|
|
Both is enabled by default.
|
|
|
|
|
2022-08-11 10:36:28 +08:00
|
|
|
#### udp_over_tcp
|
|
|
|
|
2022-08-12 17:55:52 +08:00
|
|
|
Enable the UDP over TCP protocol.
|
2022-08-11 10:36:28 +08:00
|
|
|
|
|
|
|
Conflict with `multiplex`.
|
|
|
|
|
2022-07-30 18:12:24 +08:00
|
|
|
#### multiplex
|
|
|
|
|
2022-08-24 21:02:28 +08:00
|
|
|
Multiplex configuration, see [Multiplex](/configuration/shared/multiplex).
|
2022-07-30 18:12:24 +08:00
|
|
|
|
2022-07-08 18:48:43 +08:00
|
|
|
### Dial Fields
|
|
|
|
|
2022-08-31 13:21:29 +08:00
|
|
|
See [Dial Fields](/configuration/shared/dial) for details.
|