Updated on 22 Jun, 2023
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.
Give a desired name for the Oracle Cloud server. Select the OS image for Ubuntu20.04 and the instance type.
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.
Now, add rules for the above mentioned 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.
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.