Docker部署Snell代理服务器配置指南
发布于
# docker
snell配置文件
mkdir -p /root/docker/snell
cat > /root/docker/snell/docker-compose.yml << EOF
version: "3.8"
services:
snell:
image: accors/snell:latest
container_name: snell
restart: always
network_mode: host
volumes:
- ./snell.conf:/etc/snell-server.conf
environment:
- SNELL_URL=https://dl.nssurge.com/snell/snell-server-v4.1.1-linux-amd64.zip
EOF
cat > /root/docker/snell/snell.conf << EOF
[snell-server]
dns = 1.1.1.1, 8.8.8.8, 2001:4860:4860::8888
listen = ::0:50010
ipv6 = true
psk = your_password
tfo = false
version = 4
EOF
OR
cat > /root/docker/snell/snell.conf << EOF
[snell-server]
dns = 1.1.1.1, 8.8.8.8, 2001:4860:4860::8888
listen = ::0:50010
ipv6 = true
psk = your_password
obfs = http
obfs-host = www.bing.com
tfo = false
version = 4
EOF
docker compose up -d
docker compose down -v
snell版本:https://manual.nssurge.com/others/snell.html?ref=blog.lalalayyds.top