Setup Oracle Cloud VPN server with UTunnel

This guide will help you to set up an Oracle Cloud VPN server using UTunnel's Cloud VPN as a Service.

Log in to your Oracle Cloud account and create a server. UTunnel requires a server with Ubuntu20.04 installed.
 

Setup Oracle Cloud VPN server with UTunnel navigate to Orcale dashboard and create a server

 

Give a desired name for the Oracle Cloud server. Select the OS image for Ubuntu20.04 and the instance type.
 

Setup Oracle Cloud VPN server with UTunnel provide a name for server and select OS image

 

Once the server is created you will need to edit the security policy and allow access to necessary network ports. By default UTunnel services are configured to listen on the ports TCP:443 and UDP:53, 443, 500 and 4500.


For that, navigate to Compute > Instances > Instance details. Then click on Virtual cloud network name.

Setup Oracle Cloud VPN server with UTunnel configure the security policy and access to network ports

 

Setup Oracle Cloud VPN server with UTunnel click on create security lists within security lists

 

Now, add rules for the above mentioned ports.

Setup Oracle Cloud VPN server with UTunnel add rules for the network ports

Also add the port TCP 38081 for managing services like live sessions, firewall, and site-to-site tunneling.

Now the server is created. You will need to add newly created server to your UTunnel account and deploy UTunnel services. For that, login to the UTunnel dashboard, navigate to Server tab and click on Create Server button.
 

Server Type: On-Premise.
Name: Give a desired name for your server.
IP Address: The IP address of the newly server created in Oracle Cloud.

Setup Oracle Cloud VPN server with UTunnel create server page

 

Setup Oracle Cloud VPN server with UTunnel registration token

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


You need to register the server with UTunnel now, you need to replace YOUR_REGISTRATION_TOKEN with the registration token you obtained from the UTunnel dashboard.

sudo /utunnel/bin/utnservice register YOUR_REGISTRATION_TOKEN

Start UTunnel Service on your server. Run the following command for the same.

sudo /utunnel/bin/utnservice start

Now your server will be ready to accept VPN connection. Invite users to your server and start using VPN.

Popular Support Articles

How To Redeploy On-Premise VPN Server

How to Update an On-Premise VPN Server

How to setup VPN Server in Linode

How to set up a DigitalOcean VPN Server with UTunnel

How to set up a UTunnel VPN Server with Vultr