Shadowsocks on alpine linux with simple http obfuscating , built from source.
Tags:
3.2.3
,latest
: shadowsocks-libev with simple-obfs plugin on alpine 3.8
Note: OTA is not available on 3.x, use gcm encryption methods instead.
By default, image starts in server mode, which can be customized using environment variables (see shadowsocks-libev man page for more information):
SHADOWSOCKS_SCERET
: secret key, default value isbob180180180
.SHADOWSOCKS_ENCRYPTIONMETHOD
: encryption method, default value ischacha20
.SHADOWSOCKS_TIMEOUT
: socket timeout in seconds, default value is300
.SHADOWSOCKS_MAXOPENFILES
: max open files, default value is1000
.SIMPLE_OBFS_METHOD
: simple obfuscation method, default value ishttp
Start server with:
docker run \
-p 0.0.0.0:8388:8388 \
-e SHADOWSOCKS_SCERET=bob \
-e SHADOWSOCKS_ENCRYPTIONMETHOD=aes-256-gcm \
kotaimen/shadowsocks
Start client with:
docker run \
-p 0.0.0.0:1080:1080 \
kotaimen/shadowsocks \
ss-local \
-s bob.net \
-p 80 \
-b 0.0.0.0 \
-l 1080 \
-k password \
-u -m aes-256-gcm \
--plugin obfs-local \
--plugin-opts "obfs=http;obfs-host=bob.net"