Built-in Snell Server Mac Only

Surge Mac can accept incoming Snell proxy connections with the [Snell Server] section, letting other Surge devices use the Mac as a Snell server.

[Snell Server]
interface = 0.0.0.0
port = 6160
psk = RANDOM_KEY_HERE

When version is omitted, the server uses Snell v1. Existing configurations continue to work unchanged.

Parameters

interface

The local address the server listens on, e.g. 0.0.0.0.

port

The TCP listening port.

psk

The pre-shared key. Clients must be configured with the same PSK.

version

Optional, 1 or 6, default: 1.

The Snell protocol version served. Only 1 and 6 are accepted.

mode

Optional, default | unshaped | unsafe-raw, default: default. Snell v6 only.

The transport mode. Use default for normal deployments. Clients must set the matching mode parameter on their Snell policies.

Snell v6 Mac 6.8.0+

Set version=6 to enable the Snell v6 server:

[Snell Server]
interface = 0.0.0.0
port = 6160
psk = RANDOM_KEY_HERE
version = 6
mode = default

The built-in Snell v6 server supports reusable encrypted TCP transports and UDP tunneling. Its protocol profile is derived automatically from the PSK, so no traffic-shaping profile needs to be configured manually.

Adding version=6 is required to opt in. Existing [Snell Server] sections without a version continue to use Snell v1.

Client Configuration

Configure an outbound Snell policy on the client with a matching PSK and version:

[Proxy]
My Snell Server = snell, server.example.com, 6160, psk=RANDOM_KEY_HERE, version=6

See the Snell policy reference for all client-side parameters.

results matching ""

    No results matching ""