Before starting, ensure you have the following prerequisites:
- Docker installed on your system.
- Replace the placeholders in
.env
with your desired values. At least theSERVERURL
has to be changed to the public IP of the server. - Start the WireGuard server using
docker compose up -d
- Display the client QR code with
./show-qr-code.sh 1
where 1 is the name of the first automatically created peer configuration (peer1 actually) - Use the QR code in your WireGuard client to set up the peer