Sign inSign up

jordenyt/shadowsocks

By jordenyt

•Updated over 2 years ago

shadowsocks-libev with kcptun, obfs and v2ray for ARMv7 (e.g. Raspberry Pi)

Image
2

651

jordenyt/shadowsocks repository overview

⁠shadowsocks-libev docker with kcptun, obfs and v2ray plugins for ARMv7 (e.g. Raspberry Pi)

Original version (amd64): mritd/shadowsocks⁠
⁠Parameters for docker run
-m : Specify shadowsocks command, default is ss-server
-s : shadowsocks-libev parameters string
-x : Turn on kcptun support
-e : Specify kcptun command, default value is kcpserver
-k : kcptun parameter string
-r : Use /dev/urandom to generate random number
⁠Run Examples
⁠Shadowsocks Server with no plugin:
docker run -dt --name ssserver --restart=always -p 6443:6443 -p 6443:6443/udp jordenyt/shadowsocks \
    -s "-s 0.0.0.0 -p 6443 -m chacha20-ietf-poly1305 -k abcdefgabcdefg -u"
This will setup SS server with port: 6443, encrypt method: chacha20-ietf-poly1305, password: abcdefgabcdefg

More options for shadowsocks-libev can be found in shadowsocks/shadowsocks-libev github⁠.

⁠Shadowsocks Server with obfs plugin:
docker run -dt --name ssserver --restart=always -p 6443:6443 -p 6443:6443/udp jordenyt/shadowsocks \
    -s "-s 0.0.0.0 -p 6443 -m chacha20-ietf-poly1305 -k abcdefgabcdefg -u --plugin obfs-server --plugin-opts obfs=http"
This will setup SS+obfs server with port: 6443, encrypt method: chacha20-ietf-poly1305, password: abcdefgabcdefg and obfs plugin options: obfs=http

More options for obfs can be found in shadowsocks/simple-obfs github⁠.

⁠Shadowsocks Server with v2ray plugin:
docker run -dt --name ssserver --restart=always -p 6443:6443 -p 6443:6443/udp jordenyt/shadowsocks \
    -s "-s 0.0.0.0 -p 6443 -m chacha20-ietf-poly1305 -k abcdefgabcdefg -u --plugin v2ray-plugin --plugin-opts server"
This will setup SS+v2ray server with port: 6443, encrypt method: chacha20-ietf-poly1305, password: abcdefgabcdefg

More options for v2ray can be found in shadowsocks/v2ray-plugin github⁠.

⁠Shadowsocks Server with kcptun plugin:
docker run -dt --name ssserver --restart=always -p 6500:6500/udp jordenyt/shadowsocks \
    -s "-s 0.0.0.0 -p 6443 -m chacha20-ietf-poly1305 -k abcdefgabcdefg" \
    -x -k "-t 127.0.0.1:6443 -l :6500 -mode fast2"
This will setup SS+kcptun server with port: 6500, encrypt method: chacha20-ietf-poly1305, password: abcdefgabcdefg and kcp plugin options: mode=fast2

More options for kcptun can be found in xtaci/kcptun github⁠.

Tag summary

Content type

Image

Digest

Size

24.2 MB

Last updated

over 6 years ago

docker pull jordenyt/shadowsocks