Shadowsocks Outbound (type: ss)¶
Supports classic AEAD ciphers, Shadowsocks 2022 BLAKE3 ciphers, and pluggable transports (obfs, v2ray-plugin, and shadow-tls v3).
- Feature:
shadowsocks(enabled instandard/ default builds). connect-via/dialer-proxy: TCP + UDP supported.
Fields¶
| Key | Type | Required | Default | Description |
|---|---|---|---|---|
name, server, port, connect-via (dialer-proxy) |
Common | Yes (except connect-via) |
— | Standard outbound options. |
cipher |
string |
Yes | — | Encryption cipher (see list below). |
password |
string |
Yes | — | Password or Base64 PSK (for SS2022). |
udp |
bool |
No | true |
Enable UDP relay. |
plugin |
string |
No | None |
One of "obfs", "v2ray-plugin", or "shadow-tls". Requires plugin-opts when set. |
plugin-opts |
map | Required if plugin set |
None |
Plugin-specific options (see below). |
Supported Ciphers¶
Exactly 8 ciphers are supported by ClashRS (map_cipher):
aes-128-gcmaes-256-gcmchacha20-ietf-poly1305xchacha20-ietf-poly13052022-blake3-aes-128-gcm2022-blake3-aes-256-gcm2022-blake3-chacha20-ietf-poly1305rc4-md5
Plugins¶
plugin-opts Key |
Type | Required | Default | Description |
|---|---|---|---|---|
password |
string |
Yes | — | ShadowTLS v3 password. |
host |
string |
No | "bing.com" |
TLS SNI handshake host. |
strict |
bool |
No | true |
Enable strict mode. |
plugin-opts Key |
Type | Required | Default | Description |
|---|---|---|---|---|
mode |
string |
Yes | — | Must be "websocket". |
host |
string |
No | "bing.com" |
WebSocket Host and TLS SNI. |
path |
string |
No | "" ("/" on wire) |
WebSocket path. |
tls |
bool |
No | false |
Wrap WebSocket in TLS. |
port |
u16 |
No | 443 (if tls) / 80 |
Port used in WebSocket Upgrade Host header. |
skip-cert-verify |
bool |
No | false |
Skip TLS certificate verification. |
headers |
map | No | {} |
Extra headers (Host auto-filled from host if absent). |
mux |
bool |
No | false |
Setting mux: true fails with an error (v2ray plugin does not support mux). |
Logs a deprecation warning on startup.
plugin-opts Key |
Type | Required | Default | Description |
|---|---|---|---|---|
mode |
"http" | "tls" |
Yes | — | Obfuscation mode. |
host |
string |
No | "bing.com" |
Disguised HTTP/TLS host. |