Public | Automated Build

Last pushed: 2 years ago
Short Description
Dockerized shadowsocks-client
Full Description

Run

server side: (with obfsproxy)

sudo docker run -d --restart=always -p 443:8080 \
  --name=obfsserver \
  -e OBFS_PASSWORD={32_base32_chars} \
  -e SS_PASSWORD={some_rand_string} \
  jesset/shadowsocks-server;

client side : (with obfsproxy)

sudo docker run -d --restart=always -p 7070:7000 \
  --name=obfsclient \
  -e OBFS_PASSWORD={32_base32_chars} \
  -e OBFS_INHOST=x.x.x.x \
  -e OBFS_INPORT=443 \
  -e SS_PASSWORD={some_rand_string}  jesset/shadowsocks-client

server side: (without obfsproxy)

sudo docker run -d --restart=always -p 443:8080 \
    --name=ssserver \
    -e SS_PASSWORD={some_rand_string} \
    jesset/shadowsocks-server;

client side: (without obfsproxy)

sudo docker run -d --restart=always -p 7071:7000 \
  --name=ssclient \
  -e SS_HOST=x.x.x.x \
  -e SS_PORT=443 \
  -e SS_PASSWORD={some_rand_string}  jesset/shadowsocks-client

test

for port in 7070 7071
do
  curl --progress-bar -f -q --connect-timeout 3 --max-time 10 \
    --socks5-hostname 127.0.0.1:$port   https://twitter.com/ >/dev/null
  echo $((c++)):$?
done

Note

  1. some_rand_string : openssl rand -hex 8
  2. 32_base32_chars : openssl rand -hex 11 | base64 | tr '[:lower:]' '[:upper:]'
Docker Pull Command
Owner
jesset
Source Repository

Comments (0)