mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-18 04:58:52 +02:00
35 lines
533 B
Markdown
35 lines
533 B
Markdown
[`Shadowsocks`][1] is a secure socks5 proxy,
|
|
designed to protect your Internet traffic.
|
|
|
|
> If you want to keep a secret,
|
|
> you must also hide it from yourself.
|
|
|
|
## docker-compose.yml
|
|
|
|
```
|
|
shadowsocks:
|
|
image: vimagick/shadowsocks
|
|
ports:
|
|
- "8388:8388"
|
|
environment:
|
|
- PASSWORD=secret
|
|
restart: always
|
|
```
|
|
|
|
## server
|
|
|
|
```
|
|
$ docker-compose up -d
|
|
```
|
|
|
|
## client
|
|
|
|
```
|
|
$ sslocal -c config.json
|
|
```
|
|
|
|
[read more][2]
|
|
|
|
[1]: http://shadowsocks.org
|
|
[2]: https://github.com/shadowsocks/shadowsocks/wiki/Configuration-via-Config-File
|