/docker-shadowsocks-client

A shadowsocks-libev client docker image, with simple-obfs support.

Primary LanguageDockerfile

This is a shadowsocks-libev client docker image, with simple-obfs support.

Usage

Build

cd docker-shadowsocks-client
sh build.sh

Connect to a simple-obfs shadowsocks server

sudo docker run --name shadowsocks-client \
    --restart=always \
    -d \
    -p 127.0.0.1:1080:1080 \
    -e SERVER_ADDR=server \
    -e SERVER_PORT=443 \
    -e METHOD=aes-256-gcm \
    -e PASSWORD=yourpassword \
    -e OBFS_ARG="obfs=http;obfs-host=www.bing.com" \
    shadowsocks-client

Connect to a common shadowsocks server

sudo docker run --name shadowsocks-client \
    --restart=always \
    -d \
    -p 127.0.0.1:1080:1080 \
    -e SERVER_ADDR=server \
    -e SERVER_PORT=443 \
    -e METHOD=aes-256-gcm \
    -e PASSWORD=yourpassword \
    shadowsocks-client