VPS on Microsoft Azure

What you will need:

Step by step

First, head to the Azure Portal.


Navigate to the Virtual Machines section.


Click on Add and then on Virtual Machine.

  1. Create or select an existing Resource Group.
  2. Create a name for your VM (e.g. Syntropy-VPN).
  3. For seamless configuration, select an image that supports WireGuard out of the box. We recommend Ubuntu Server 21.04.
  4. Select the resources for your VPN server.

Copy Server Specific configuration provided below. (screenshot configuration is outdated, copy it from below)

This configuration will automatically set up Docker software, open all ports (not secure, see note below) and launch a Syntropy VPN configured Agent.


  - curl -fsSL https://get.docker.com | sh
  - sudo systemctl enable --now docker
  - sudo ufw default allow
  - sudo ufw enable
  - sudo docker run --network="host" --restart=on-failure:10 --cap-add=NET_ADMIN   --cap-add=SYS_MODULE -v /var/run/docker.sock:/var/run/docker.sock:ro   --device /dev/net/tun:/dev/net/tun --name=syntropynet-agent   -e SYNTROPY_AGENT_TOKEN=$SYNTROPY_KEY   -e SYNTROPY_NETWORK_API='host'   -e SYNTROPY_ALLOWED_IPS='[{"":"internet"}]'   -e SYNTROPY_SERVICES_STATUS=true   -e SYNTROPY_TAGS=VPN -d syntropynet/agent:stable

Then, navigate to a Network section and select the None option in NIC network security group.


NB: All ports are open!

With this configuration of the firewall, all ports in the VM are open which is not secure, and should be used for testing primarily.
Better firewall rules need to be set for only enabling udp connection to the port found in the wireguard config file in step 4 of this guide.
This must be done both in Azure networking tab and in ubuntu using the ufw firewall.


Check if everything is correct and click Create.


The deployment might take several minutes to complete. After it's done, this endpoint, running VPN server Agent, will appear in the Syntropy Stack Platform.


Next step

Now that your VPN server is running, you can go ahead and set up your VPN connections using Syntropy Stack.