Snell Server is a lean encrypted proxy protocol. It is designed to be simple, lightweight.
This image is build from the latest source code of Snell Server. It supports linux/amd64
, linux/arm64
, linux/arm/v7
, linux/386
architecture.
docker pull funnyzak/snell-server
# GHCR
docker pull ghcr.io/funnyzak/snell-server
# Aliyun
docker pull registry.cn-beijing.aliyuncs.com/funnyzak/snell-server
Your can run this image with the following command:
docker run -d --name snell-server --restart always -p 12303:6180 -e PSK="5G0H4qdf32mEZx32t" funnyzak/snell-server
# With more options
docker run -d --name snell-server --restart always \
-e PSK="5G0H4qdf32mEZx32t" \
-e TZ="Asia/Shanghai" \
-e IPV6="false" \
-e PORT=6180 \
-e EGRESS_INTERFACE="eth0" \
-p 12303:6180 funnyzak/snell-server:latest
# Echo config file
docker exec -it snell-server cat /etc/snell-server.conf
version: '3'
services:
snell:
image: funnyzak/snell-server
container_name: snell-server
environment:
PSK: 5G0H4qdf32mEZx32t
TZ: Asia/Shanghai
IPV6: false
PORT: 6180
EGRESS_INTERFACE: eth0 # Optional: specify network interface for outbound connections
restart: always
ports:
- 12303:6180
Variable | Default | Description |
---|---|---|
PSK |
Auto-generated | Pre-shared key for authentication |
PORT |
6180 |
Port number for the server to listen on |
IPV6 |
false |
Enable IPv6 support |
EGRESS_INTERFACE |
- | Network interface name for outbound connections (e.g., eth0 , wlan0 ) |
[Proxy]
Proxy = snell, 1.2.3.4, 6333, psk=RANDOM_KEY_HERE, version=4