Minimalist https://github.com/k4yt3x/wg-meshconf docker image
1.4K
wg-meshconf minimalist docker image
mkdir wg
docker run -v ./wg:/home/wgmeshconf -it highcanfly/wg-meshconf init
docker run -v ./wg:/home/wgmeshconf -it highcanfly/wg-meshconf addpeer master --address 10.18.0.1/32 --endpoint 1.2.3.4 --listenport 51820
docker run -v ./wg:/home/wgmeshconf -it highcanfly/wg-meshconf addpeer worker1 --address 10.18.0.2/32 --endpoint 1.2.3.5 --listenport 51820
docker run -v ./wg:/home/wgmeshconf -it highcanfly/wg-meshconf addpeer worker2 --address 10.18.0.3/32 --endpoint 1.2.3.6 --listenport 51820
docker run -v ./wg:/home/wgmeshconf -it highcanfly/wg-meshconf showpeers
docker run -v ./wg:/home/wgmeshconf -it highcanfly/wg-meshconf genconfig
scp wg/output/master.conf [email protected]:/etc/wireguard/wg0.conf
scp wg/output/worker1.conf [email protected]:/etc/wireguard/wg0.conf
scp wg/output/worker2.conf [email protected]:/etc/wireguard/wg0.conf
systemctl enable wg-quick@wg0
systemctl start wg-quick@wg0
Content type
Image
Digest
sha256:5a83da258…
Size
345.9 MB
Last updated
over 3 years ago
docker pull highcanfly/wg-meshconf