Sign inSign up

appso/shadowsocksr

By appso

•Updated about 7 years ago

ShadowsocksR Docker Image

Image
1

535

appso/shadowsocksr repository overview

⁠ShadowsocksR Docker Image

shadowsocksr⁠ is a lightweight secured socks5 proxy for embedded devices and low end boxes. It is a port of shadowsocks⁠ created by @clowwindy maintained by @breakwa11 and @Akkariiin.

Docker images are built for quick deployment in various computing cloud providers. For more information on docker and containerization technologies, refer to official document⁠.

⁠Prepare the host

If you need to install docker by yourself, follow the official installation guide⁠.

⁠Pull the image

$ docker pull appso/shadowsocksr

or pull image based alpine

$ docker pull appso/shadowsocksr:alpine

This pulls the latest release of shadowsocksr.

It can be found at Docker Hub⁠.

⁠Start a container

You must create a configuration file /etc/shadowsocksr/config.json in host at first, and sample:

{
    "server":"0.0.0.0",
    "server_ipv6":"::",
    "server_port":9000,
    "local_address":"127.0.0.1",
    "local_port":1080,
    "password":"password",
    "timeout":120,
    "method":"none",
    "protocol":"auth_chain_b",
    "protocol_param":"",
    "obfs":"http_simple",
    "obfs_param":"",
    "redirect":"",
    "dns_ipv6":false,
    "fast_open":false,
    "workers":1
}

This container with sample configuration /etc/shadowsocksr/config.json

There is an example to start a container that listens on 9000 (both TCP and UDP):

$ docker run -d -p 9000:9000 -p 9000:9000/udp --name ssr -v /etc/shadowsocksr:/etc/shadowsocksr appso/shadowsocksr

There is an example to start a container based alpine that listens on 9000 (both TCP and UDP):

$ docker run -d -p 9000:9000 -p 9000:9000/udp --name ssr -v /etc/shadowsocksr:/etc/shadowsocksr appso/shadowsocksr:alpine

Note: The port number must be same as configuration.

Tag summary

Content type

Image

Digest

Size

59.7 MB

Last updated

about 7 years ago

docker pull appso/shadowsocksr