Shadowsocks-libev client for containers
475
Shadowsocks-libev client in nat mode
https://github.com/aceberg/my-dockerfiles/tree/main/ss-redir
Set the following env variables from your Shadowsocks server
| Variable | Description |
|---|---|
| SERVER_IP | Server IP (or hostname) |
| SERVER_PORT | Server port |
| PASSWORD | Password |
| METHOD | Encryption method |
IMPORTANT: --cap-add=NET_ADMIN needed for this to work!
docker run --name ss-redir \
--env SERVER_IP="YOUR_IP" \
--env SERVER_PORT="PORT" \
--env PASSWORD="PW" \
--env METHOD="METHOD" \
--cap-add=NET_ADMIN \
aceberg/ss-redir
docker run --name ubuntu \
--network='container:ss-redir' \
ubuntu
Now this ubuntu container will be using network through shadowsocks proxy
Content type
Image
Digest
sha256:3cba7a707…
Size
56.4 MB
Last updated
about 4 years ago
docker pull aceberg/ss-redir