Image Overview: shadowsocks-rust-ssserver

Overview: shadowsocks-rust-ssserver Chainguard Image

Shadowsocks-rust is a Rust implementation of the Shadowsocks protocol, aimed at ensuring secure and private internet access by encrypting connections and circumventing internet restrictions.

Download this Image

The image is available on cgr.dev:

docker pull cgr.dev/chainguard/shadowsocks-rust-ssserver:latest

Usage

Create a configuration file config.json:

cat <<EOF > config.json
{
    "server": "127.0.0.1",
    "server_port": 8388,
    "local_port": 1080,
    "local_address": "127.0.0.1",
    "password": "password",
    "timeout": 300,
    "method": "aes-256-gcm"
}
EOF
  • Start the sslocal:
docker run \
  --name sslocal-rust \
  --restart always \
  -p 1080:1080/tcp \
  -v /path/to/config.json:/etc/shadowsocks-rust/config.json \
  -dit cgr.dev/chainguard/shadowsocks-rust-ssserver:latest
  • Start the ssserver:
docker run \
  --name ssserver-rust \
  --restart always \
  -p 8388:8388/tcp \
  -p 8388:8388/udp \
  -v /path/to/config.json:/etc/shadowsocks-rust/config.json \
  -dit cgr.dev/chainguard/shadowsocks-rust-sslocal:latest

Jump to the official Getting Started guide for more detailed usage.

Last updated: 2024-04-11 12:38