Total Pageviews

Thursday 21 April 2016

docker里的shadowvpn

ShadowVPN is a fast, safe VPN based on libsodium.

directory tree

~/fig/shadowvpn/
├── docker-compose.yml
└── server.conf
Please change password in server.conf to protect your server.

docker-compose.yml

shadowvpn:
  image: vimagick/shadowvpn
  ports:
    - "1123:1123/udp"
  volumes:
    - "./server.conf:/etc/shadowvpn/server.conf"
  privileged: true
  restart: always

server

$ docker-compose up -d

client

$ shadowvpn -c /etc/shadowvpn/client.conf -v
Change settings in client.conf.

from  https://github.com/vimagick/dockerfiles/tree/master/shadowvpn