Docker WireGuard but with Http APIs
This project wraps WireGuard and some simple endpoints into one service.
Those endpoints help you interact with WireGuard via Http requests,
when you run WireGuard as a VPN server in your microservice environment.
docker build . -t wg
docker run \
--cap-add=NET_ADMIN \
--cap-add=SYS_MODULE \
-e TZ=Europe/London \
-e SERVERPORT=51820 \
-e PEERS=1 \
-e PEERDNS=auto \
-e INTERNAL_SUBNET=10.13.13.0/24 \
-e ALLOWEDIPS=0.0.0.0/0 \
-e HOST=0.0.0.0 \
-e PORT=8000 \
-p 51820:51820/udp \
-p 8000:8000 \
--name wg \
wg