How to Set up an Exoscale VPN Server With UTunnel

This guide describes how to deploy and manage an Exoscale VPN gateway using UTunnel's Cloud VPN as a Service.

UTunnel facilitates quick and easy VPN server deployment with many leading IaaS providers, including Exoscale. UTunnel’s hassle-free VPN gateway deployment process makes it easy for users to deploy and manage a VPN gateway with Exoscale.

1. Log in to your Exoscale account and create a Virtual Private Server on the Exoscale portal. While creating the VPS, make sure that you select Ubuntu 20.04 server.

2. After creating the Exoscale VPS, copy and note down the newly created instance’s IP address.

3. Create a UTunnel account and log in to your account. Navigate to the CREATE button in the Create an Access Gateway section.

exoscale vpn server list page

4. Fill in your billing address and click on the PROCEED button to move to the next step. You can also skip this step by clicking on the Skip button.

exoscale vpn billing page

5. You can customize your Exoscale VPN gateway by managing the following options:

  • Package: Select a package (Basic or Standard) according to your preference.
  • Access Gateway Type: Select the server type to be On-Premise
  • Access Gateway Name: Provide an easily identifiable name of your choice as the VPN gateway name.
  • IP Address: Key in your Exoscale server instance’s IP address
  • VPN Accounts: Select the number of VPN user licenses required on the VPN gateway
  • Coupon: Enter the coupon code if you have any

Click on the PROCEED button once you finish customizing the Accesss Gateway configurations to proceed to the next step.

exoscale vpn create server form

6. You can review your Access Gateway details on the Order Summary page. Click on the PROCEED button to progress to the next step.

exoscale vpn server order summary

7. Enter your credit card details as required and click on the Start Your Trial/Pay Now button to initiate the Access Gateway creation.

exoscale vpn server payment confirmation page

8. You will be directed to the Access Gateway Overview page where you can check the Access Gateway deployment status.

exoscale vpn server overview page

9. Once the Access Gateway deployment is initiated, you will get a registration token, which you need to register your Exoscale VPN gateway.

exoscale vpn server registration token

10. To execute the next steps to deploy your Exoscale VPN gateway, your need to connect to your server via SSH and run the following commands. You need to have sudo access to run these commands.

Create a directory named utunnel and make it the current working directory:

sudo mkdir /utunnel && cd /utunnel

Download the required files and extract them with the command:

sudo wget https://files.utunnel.io/production/deploy/install_bundle_20.tar
sudo tar -xf install_bundle_20.tar

Register your Exoscale VPN gateway after replacing YOUR_REG_TOKEN with the registration token you received earlier

sudo /utunnel/bin/utnservice register YOUR_REG_TOKEN

Now start the VPN service with the command:

sudo /utunnel/bin/utnservice start

 

11. You also have to make sure that inbound connections to the following ports are allowed to accept VPN connections.

Ports used for OpenVPN connections

  • TCP 443
  • UDP 443
  • UDP 53 (if scramble/obfuscate VPN is enabled)

Ports used for IPSEC connections

  • UDP 4500
  • UDP 500

Ports used for managing UTunnel services like live sessions, firewall, and site-to-site tunneling.

  • TCP 38081

Now your Exoscale VPN gateway is ready for use. You can invite users into your Access Gateway and start using the VPN.

Popular Support Articles

How to setup a VPN server in AWS

How To Redeploy On-Premise VPN Server

How to Redeploy a Cloud VPN Server

Setup Oracle Cloud VPN server with UTunnel

How to set up a DigitalOcean VPN Server with UTunnel

How to set up a UTunnel VPN Server with Vultr

How to Deploy a Cloud VPN server