1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00
dockerfiles/shadowvpn
2015-06-11 22:29:08 +08:00
..
Dockerfile upate 2015-06-11 18:31:18 +08:00
README.md update 2015-06-11 22:29:08 +08:00

ShadowVPN 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