docs/configuration/outbound/snell.md
!!! question "Since sing-box 1.14.0"
{
"type": "snell",
"tag": "snell-out",
"server": "127.0.0.1",
"server_port": 1080,
"version": 4,
"psk": "password",
"userkey": "",
"reuse": false,
"network": "tcp",
"obfs_mode": "",
"obfs_host": "",
... // Dial Fields
}
{
"type": "snell",
"tag": "snell-out",
"server": "127.0.0.1",
"server_port": 1080,
"version": 6,
"psk": "password",
"userkey": "",
"reuse": false,
"network": "tcp",
"mode": "",
... // Dial Fields
}
==Required==
The server address.
==Required==
The server port.
==Required==
The Snell protocol version, one of 4 6.
Version 4 supports HTTP obfuscation (obfs_mode / obfs_host); version 6
replaces it with traffic shaping (mode) and requires a psk of 12 to 255
bytes.
!!! note
Since we intentionally do not support the QUIC proxy mode of Snell v5, the v5 wire protocol
is effectively identical to v4, so no separate v4 server or v5 client is provided.
==Required==
The pre-shared key.
The user key, used to authenticate against a multi-user server.
Enable connection reuse (the Snell v2 CONNECT command).
Enabled network
One of tcp udp.
Both is enabled by default.
==Version 4 only==
HTTP obfuscation mode, one of none http.
none is used by default.
==Version 4 only==
The HTTP Host header sent when obfs_mode is http.
bing.com is used by default.
==Version 6 only==
Traffic shaping mode, one of default unshaped unsafe-raw.
default is used by default.
See Dial Fields for details.