Video Tutorial

1 - Launch new EC2 instance

  1. Log into the AWS Management Console and select EC2 from the Services tab.

  2. Select "Launch Instance" from the EC2 dashboard.

  1. Choose an Amazon Machine Image (AMI) for your instance. An AMI is a template that contains the software configuration (operating system, application server, and applications) required to launch your instance.
    In this example, we will use Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-1028-aws x86_64).

  1. Choose an instance type. This will determine the hardware configuration of your instance, such as the amount of memory, CPU, storage, etc.
  2. Configure your instance details. This includes setting up a key pair, setting up security groups, and configuring the instance to launch in a specific Availability Zone.

  1. Tag your instance. This allows you to organize and track your instances.
  2. Configure your network settings.

  1. Review and launch your instance.

Setup Inbound Rules

  1. Log in to the AWS Management Console and select the EC2 instance you want to configure.

  2. In the left-hand navigation panel, select the "Security Groups" tab.

  3. Select the security group that is associated with your instance.

  4. Click the "Inbound" tab and then click the "Edit" button.

  5. In the "Type" drop-down menu, select "All UDP" (you can pick just a selected UPD port range for security reasons, but you must specify it in your Syntropy Agent config once it's installed on your EC2).

  6. In the "Source" field, enter "" (All IP4 traffic).

  7. Click the "Save rules" button to save your changes.

Your EC2 instance is now configured to allow all UDP traffic.

2- Connect to your instance via SSH

Connect to your instance using SSH. You must use the key pair you created in step 5 to connect to your instance via Terminal or simply use the web UI version.

3 - Setup Firewall rules (Forwarding)

This step will provide instructions on how to update settings for the firewall on Ubuntu using theIPtables command. It will cover how to allow forwarding traffic and how to use the flag to apply all ports.

More about IPtables command you can find in the official Ubuntu documentation.

sudo iptables -P FORWARD ACCEPT
sudo iptables -S

4 - Install Docker

Here we need to ensure that we have Docker installed on our EC2 instance, here, you have the most simple and efficient way of doing it in Linux Ubuntu, but you can also refer to Docker's documentation.

sudo curl -fsSL https://get.docker.com | sh

Check if it's installed correctly.

docker -v
Docker version 23.0.1, build a5ee5b1

5 - Install Syntropy Agent on VPS

  1. Generate a new Agent Token, then copy it.
  2. Head to Add Endpoint button at the Endpoints tab and choose VPN tab.
  3. Paste your Agent Token generated in step 1.
  4. Copy the generated command line.
  5. Paste it into your terminal and use thesudo if needed.

You can check if Agent is running by sudo docker ps

sudo docker ps
CONTAINER ID   IMAGE                      COMMAND                  CREATED          STATUS          PORTS     NAMES
98372e000daf   syntropynet/agent:stable   "/usr/bin/syntropy_a…"   11 minutes ago   Up 11 minutes             syntropynet-agent

Once Agent is installed correctly, we will be able to see following Endpoint one service:

Next step

Now you can add more devices to your VPN network using Virtual Endpoints or install Agent on any other device: