2015-06-23 03:00:07 +02:00
|
|
|
shadowsocks
|
|
|
|
===========
|
|
|
|
|
2015-09-18 07:56:00 +02:00
|
|
|
name | size
|
|
|
|
--------------------- | ---------------------------------------------------------------------------
|
|
|
|
shadowsocks | ![](https://badge.imagelayers.io/vimagick/shadowsocks:latest.svg)
|
|
|
|
shadowsocks-libev | ![](https://badge.imagelayers.io/vimagick/shadowsocks-libev:latest.svg)
|
|
|
|
shadowsocks-arm | ![](https://badge.imagelayers.io/vimagick/shadowsocks-arm:latest.svg)
|
|
|
|
shadowsocks-libev-arm | ![](https://badge.imagelayers.io/vimagick/shadowsocks-libev-arm:latest.svg)
|
2015-06-23 03:00:07 +02:00
|
|
|
|
2015-09-16 10:20:09 +02:00
|
|
|
[shadowsocks][1] is a secure socks5 proxy,
|
2015-06-11 17:00:57 +02:00
|
|
|
designed to protect your Internet traffic.
|
|
|
|
|
|
|
|
> If you want to keep a secret,
|
|
|
|
> you must also hide it from yourself.
|
|
|
|
|
|
|
|
## docker-compose.yml
|
|
|
|
|
2015-12-04 04:40:29 +02:00
|
|
|
For Linux Server
|
|
|
|
|
2015-06-11 17:00:57 +02:00
|
|
|
```
|
2015-09-16 10:08:42 +02:00
|
|
|
server:
|
|
|
|
image: vimagick/shadowsocks-libev
|
2015-06-11 17:00:57 +02:00
|
|
|
ports:
|
|
|
|
- "8388:8388"
|
|
|
|
environment:
|
2015-09-16 10:08:42 +02:00
|
|
|
- METHOD=chacha20
|
|
|
|
- PASSWORD=secret
|
|
|
|
restart: always
|
|
|
|
|
2015-12-04 04:40:29 +02:00
|
|
|
client:
|
|
|
|
image: vimagick/shadowsocks-libev
|
|
|
|
command: ss-local -s foobar.site -p 8388 -b 0.0.0.0 -l 1080 -k secret -m chacha20
|
|
|
|
ports:
|
|
|
|
- "1080:1080"
|
|
|
|
restart: always
|
|
|
|
```
|
|
|
|
|
|
|
|
For Raspberry Pi
|
|
|
|
|
|
|
|
```
|
2015-09-16 10:08:42 +02:00
|
|
|
client:
|
2015-09-18 07:51:56 +02:00
|
|
|
image: vimagick/shadowsocks-libev-arm
|
2015-09-16 10:08:42 +02:00
|
|
|
ports:
|
|
|
|
- "1080:1080"
|
|
|
|
environment:
|
|
|
|
- SERVER_ADDR=foobar.site
|
|
|
|
- METHOD=chacha20
|
2015-06-11 17:00:57 +02:00
|
|
|
- PASSWORD=secret
|
|
|
|
restart: always
|
|
|
|
```
|
|
|
|
|
|
|
|
## server
|
|
|
|
|
2015-09-16 10:20:09 +02:00
|
|
|
I'm running shadowsocks server on Debian (jessie).
|
|
|
|
|
2015-06-11 17:00:57 +02:00
|
|
|
```
|
2015-09-16 10:08:42 +02:00
|
|
|
$ docker-compose up -d server
|
2015-06-11 17:00:57 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
## client
|
|
|
|
|
2015-09-16 10:20:09 +02:00
|
|
|
I'm running shadowsocks client on Raspberry Pi 2.
|
|
|
|
|
2015-06-11 17:00:57 +02:00
|
|
|
```
|
2015-09-16 10:08:42 +02:00
|
|
|
$ docker-compose up -d client
|
2015-06-11 17:00:57 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
[read more][2]
|
|
|
|
|
|
|
|
[1]: http://shadowsocks.org
|
|
|
|
[2]: https://github.com/shadowsocks/shadowsocks/wiki/Configuration-via-Config-File
|