mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
869 B
869 B
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
services:
shadowvpn:
image: vimagick/shadowvpn:latest
ports:
- "1123:1123/udp"
volumes:
- "/root/shadowvpn/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.