Skip to content

funnyzak/snell-server-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Snell Server

Image Size Docker Stars Docker Pulls Docker Tags

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

docker pull funnyzak/snell-server
# GHCR
docker pull ghcr.io/funnyzak/snell-server
# Aliyun
docker pull registry.cn-beijing.aliyuncs.com/funnyzak/snell-server

Deployment

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

Docker Compose

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

Environment Variables

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)

Surge Configuration

[Proxy]
Proxy = snell, 1.2.3.4, 6333, psk=RANDOM_KEY_HERE, version=4

Reference

About

A Snell Server Docker Image, Supports amd64, arm64, arm/v7, and 386 architectures.

Topics

Resources

License

Stars

Watchers

Forks