Skip to main content

How to Setup a ShadowSocks VPN Server?

· One min read
Xiaohai Huang

A fast and reliable VPN server.

Setup Server​

Copy the following two files into a folder and run docker-compose up -d

docker-compose.yaml
version: "3.7"
services:
ss-v2ray-service:
image: teddysun/shadowsocks-libev
container_name: ss-v2ray
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
volumes:
- ./:/etc/shadowsocks-libev # folder of SS config file
ports:
- 8333:9000
- 8333:9000/udp
restart: always
config.json
{
"server": "0.0.0.0",
"server_port": 9000,
"password": "xiaohai666",
"timeout": 300,
"method": "aes-256-gcm",
"fast_open": false,
"nameserver": "8.8.8.8",
"mode": "tcp_and_udp",
"plugin": "v2ray-plugin",
"plugin_opts": "server"
}

Connect to Server​

Download the GUI client for these different platforms.

Android​

Download the apks from GitHub releases.

Windows​

Download the app from GitHub releases.

Linux​

Download the app from snap store - shadowsocks-electron.

References​