Wireguard server on Azure

Quick deployment of a wireguard server on Azure with QR Code based setup of your mobile device.

Deployment Options

Azure Portal

Deploy to Azure

Template Output

CLI

Create a server

resourceGroupName=wireguardserver
location=westeurope

az group create -n $resourceGroupName -l $location
az deployment group create --name wireguarddeployment --resource-group $resourceGroupName --template-file azuredeploy.json

Tear down the enviroment

az group delete -n $resourceGroupName 

Client Config.

Point your browser to http://YOURFQDN:4711 and it will show an onetime QR code for mobile client setup. Just scan the code with your Wireguard App. Tested on iOS https://apps.apple.com/de/app/wireguard/id1441195209