The SYNTROPY NETWORK Developer Hub

Welcome to the SYNTROPY NETWORK developer hub. You'll find comprehensive guides and documentation to help you start working with SYNTROPY NETWORK as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    Documentation

Set up a VPN server on Microsoft Azure

What you will need:

Tutorial

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.

#cloud-config

runcmd:
  - export SYNTROPY_KEY=REPLACE_YOUR_AGENT_KEY_HERE
  - 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_API_KEY=$SYNTROPY_KEY   -e SYNTROPY_NETWORK_API='host'   -e SYNTROPY_ALLOWED_IPS='[{"0.0.0.0/0":"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.

Updated about a month ago


Next step

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

Setting up and running a private VPN

Set up a VPN server on Microsoft Azure


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.