1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
dockerfiles/shadowvpn/README.md

48 lines
835 B
Markdown
Raw Normal View History

2015-08-07 09:01:34 +02:00
ShadowVPN
=========
![](https://badge.imagelayers.io/vimagick/shadowvpn:latest.svg)
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
2015-08-07 09:01:34 +02:00
└── server.conf
2015-06-11 16:29:08 +02:00
```
2015-08-07 09:01:34 +02:00
> Please change password in [server.conf][2] to protect your server.
2015-06-11 16:29:08 +02:00
## docker-compose.yml
```
shadowvpn:
image: vimagick/shadowvpn
ports:
- "1123:1123/udp"
volumes:
2015-12-20 09:39:37 +02:00
- "./server.conf:/etc/shadowvpn/server.conf"
2015-06-11 16:29:08 +02:00
privileged: true
restart: always
```
## server
```
$ docker-compose up -d
```
## client
```
$ shadowvpn -c /etc/shadowvpn/client.conf -v
```
2015-08-07 09:01:34 +02:00
> Change settings in [client.conf][3].
2015-06-11 16:29:08 +02:00
[1]: https://shadowvpn.org/
2015-08-28 11:30:27 +02:00
[2]: https://github.com/vimagick/ShadowVPN/blob/master/samples/server.conf
[3]: https://github.com/vimagick/ShadowVPN/blob/master/samples/client.conf