Yet another unofficial Shadowsocks-libev VPN server container
2.7K
Yet another unofficial Shadowsocks-libev server container with x86 and arm/arm64 (Raspberry Pi) support.
$ git clone https://github.com/samuelhbne/server-sslibev.git
$ cd server-sslibev
$ docker build -t samuelhbne/server-sslibev:amd64 -f Dockerfile.amd64 .
...
$ docker run --rm -it samuelhbne/server-sslibev:amd64
server-sslibev -w|--password <password> [-p|--port <port-number>] [-m|--method <encrypt-method>] [-t|--timeout <timeout-seconds>] [-k|--hook <hook-url>]
-w|--password <password> Password for sslibev server access
-p|--port <port-num> [Optional] Port number for sslibev server connection, default 8388
-m|--method <encrypt-method> [Optional] Encrypt method used by sslibev server, default aes-256-gcm
-t|--timeout <timeout-seconds> [Optional] Connection timeout in seconds, default 300
-k|--hook <hook-url> [Optional] URL to be hit before server execution, for DDNS update or notification
$ docker run --name server-sslibev -p 28388:8388 -p 28388:8388/udp -d samuelhbne/server-sslibev:amd64 -k my-secret -m aes-256-gcm
...
Full list of Shadowsocks encryption methods can be found here:
$ docker run --rm --entrypoint /usr/bin/ss-local -it samuelhbne/proxy-sslibev:amd64 --help
...
-m <encrypt_method> Encrypt method: rc4-md5,
aes-128-gcm, aes-192-gcm, aes-256-gcm,
aes-128-cfb, aes-192-cfb, aes-256-cfb,
aes-128-ctr, aes-192-ctr, aes-256-ctr,
camellia-128-cfb, camellia-192-cfb,
camellia-256-cfb, bf-cfb,
chacha20-ietf-poly1305,
xchacha20-ietf-poly1305,
salsa20, chacha20 and chacha20-ietf.
The default cipher is chacha20-ietf-poly1305.
...
Try to connect the server from sslibev compatible mobile app like shadowsocks-android for Android or Shadowrocket for iOS with the host and password set above. Or verify it from Ubuntu / Debian / Raspbian client host follow the instructions below.
$ docker run --rm -it samuelhbne/proxy-sslibev:amd64
proxy-sslibev -s|--host <sslibev-server> -w|--password <password> [-p|--port <port-number>] [-m|--method <encrypt-method>] [-t|--timeout <timeout-seconds>]
-s|--server <sslibev-server> sslibev server name or address
-w|--password <password> Password for sslibev server access
-p|--port <port-num> [Optional] Port number for sslibev server connection, default 8388
-m|--method <encrypt-method> [Optional] Encrypt method used by sslibev server, default aes-256-gcm
-t|--timeout <timeout-seconds> [Optional] Connection timeout in seconds
$ docker run --name proxy-sslibev -p 1080:1080 -p 65353:53/udp -p 8123:8123 -d samuelhbne/proxy-sslibev:amd64 -s 12.34.56.78 -p 28388 -w "my-secret"
...
$ curl -sSx socks5h://127.0.0.1:1080 http://ifconfig.co
12.34.56.78
$ docker stop server-sslibev
...
$ docker rm server-sslibev
...
Content type
Image
Digest
Size
6.3 MB
Last updated
about 5 years ago
docker pull samuelhbne/server-sslibev