Setup Oracle Cloud VPN server with UTunnel

This guide will help you set up an Oracle Cloud VPN gateway 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 the 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, firewalls, and site-to-site tunneling.

Now that the server has been created, you will need to add the newly created server to your UTunnel account and deploy UTunnel services. For that, login to the UTunnel dashboard and click on the Create button under the Create an Access Gateway section.

You will land on the Create Access Gateway page. Here, you can provide your billing address details. This step is optional; you can either provide the details and click on the Proceed button or select the Skip button to do it later from the Billing tab on your dashboard.

The next step is to select the On-Premise option and enter the Access Gateway details as given below:

  • Package: You can select from Basic or Standard subscription options
  • Access Gateway Type: Select On-Premise
  • Access Gateway Name: An easily identifiable name of your choice
  • IP address: Enter your Oracle cloud server's IP address
  • VPN Accounts: Select the number of VPN users you want to allow access to this Access Gateway
  • Coupon: Enter if you have any coupon available

After configuring your Access Gateway specifications, continue to click on the Proceed button.

You will reach the Order Summary page, which displays the details of the Access Gateway configuration, the billing amount, and payment options. Click on the Proceed button to make the payment.

Now enter your credit card details as required on the screen and click on the Start Your Trial button.

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

Once the Access Gateway is created, the registration token will be displayed on the Access Gateway overview page. Please copy the registration token, as it is required to register and deploy the Access Gateway.

Now, connect to your Oracle cloud server via SSH. You will need sudo access to complete the following steps. After a successful login, execute the commands given below. Replace the string 'REG_TOKEN' in the first command with the token you obtained in the above step.

sudo mkdir /utunnel && cd /utunnel
sudo wget
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

To start UTunnel Service on your server, run the following command:.

sudo /utunnel/bin/utnservice start

Now your Access Gateway will be ready to accept VPN connections. Invite users to your Access Gateway and start using VPN services

Popular Support Articles

How to Redeploy a Cloud VPN Server

How to setup a VPN server in AWS

How To Redeploy On-Premise VPN Server

How to Deploy a Cloud VPN server

How to Deploy an On-Premise VPN Server

How to set up a DigitalOcean VPN Server with UTunnel