1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-16 11:37:34 +02:00
dockerfiles/shadowvpn/README.md

41 lines
556 B
Markdown
Raw Normal View History

2015-06-11 16:29:08 +02:00
[`ShadowVPN`][1] is a fast, safe VPN based on libsodium.
## directory tree
```
~/fig/shadowvpn/
.
├── docker-compose.yml
└── shadowvpn/
├── server.conf
├── server_down.sh
└── server_up.sh
```
## docker-compose.yml
```
shadowvpn:
image: vimagick/shadowvpn
ports:
- "1123:1123/udp"
volumes:
- "shadowvpn:/etc/shadowvpn"
privileged: true
restart: always
```
## server
```
$ docker-compose up -d
```
## client
```
$ shadowvpn -c /etc/shadowvpn/client.conf -v
```
[1]: https://shadowvpn.org/