Skip to content

akafeng/docker-shadowsocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shadowsocks

A secure socks5 proxy, designed to protect your Internet traffic.

Docker Hub · Project Source


Environment Variables

Name Value
TZ UTC
SERVER_ADDR 0.0.0.0
SERVER_PORT 8388
PASSWORD [RANDOM]
METHOD aes-256-gcm
TIMEOUT 300
DNS 8.8.8.8,8.8.4.4
OBFS -
PLUGIN -
PLUGIN_OBFS -

Pull The Image

$ docker pull akafeng/shadowsocks

Start Container

$ docker run -d \
  -p 8388:8388 \
  -p 8388:8388/udp \
  --restart always \
  --name=shadowsocks \
  akafeng/shadowsocks

Display Config

$ docker logs shadowsocks

 [!] Server Port: 8388
 [!] Encryption Method: aes-256-gcm
 [!] Password: TO56uVUvDMGe64Ss
 [!] DNS Server: 8.8.8.8,8.8.4.4
 [+] Enjoy :)

 2020-05-01 00:00:00 INFO: enable TCP no-delay
 2020-05-01 00:00:00 INFO: using tcp fast open
 2020-05-01 00:00:00 INFO: UDP relay enabled
 2020-05-01 00:00:00 INFO: enable TCP no-delay
 2020-05-01 00:00:00 INFO: initializing ciphers... aes-256-gcm
 2020-05-01 00:00:00 INFO: using nameserver: 8.8.8.8,8.8.4.4
 2020-05-01 00:00:00 INFO: tcp server listening at 0.0.0.0:8388
 2020-05-01 00:00:00 INFO: tcp port reuse enabled
 2020-05-01 00:00:00 INFO: udp server listening at 0.0.0.0:8388
 2020-05-01 00:00:00 INFO: udp port reuse enabled
 2020-05-01 00:00:00 INFO: running from root user

With simple-obfs

$ docker run -d \
  -p 443:8388 \
  -p 443:8388/udp \
  -e OBFS=tls \
  --restart always \
  --name=shadowsocks \
  akafeng/shadowsocks

With v2ray-plugin

$ docker run -d \
  -p 443:8388 \
  -p 443:8388/udp \
  -e OBFS=ws \
  --restart always \
  --name=shadowsocks \
  akafeng/shadowsocks

Thanks