How to deploy an On-Premise VPN server

**Please contact support if you need technical assistance to setup On-Premise Access Gateway**

 

The below guide will walk you through the steps involved in creating a UTunnel On-Premise VPN gateway.

1. Log in to your UTunnel account (Organization/Personal) and navigate to the CREATE button in the Create an Access Gateway section.

deploy on premise vpn server listing page

2. 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 server IP address
  • VPN accounts: Select the number of VPN users you want to allow access to this VPN gateway
  • Coupon: Enter if you have any coupon available

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

deploy on premise vpn server create server page

3.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.

deploy on premise vpn server order summary

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

deploy on premise vpn server payment screen

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

deploy on premise vpn server creation status

6. You will be directed to the Access Gateway Overview page, where the registration token is displayed. Please copy the registration token as it is required when you deploy the access gateway

deploy on premise vpn server registration token

7. Now it's the time to connect to your server via SSH. You will need sudo access to complete the below steps. After the successful login, execute the following commands.

First, disable the default firewall rules. UTunnel will load it's own firewall rules automatically.

sudo systemctl stop ufw && systemctl disable ufw

Now go ahead and run the following commands.

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

In the next command, you need to replace YOUR_REG_TOKEN with the registration token you copied from the Access Gateway Overview page.

sudo /utunnel/bin/utnservice register YOUR_REG_TOKEN

Now it's the time to start UTunnel Service on your server. Run following command for the same.

sudo /utunnel/bin/utnservice start

8. 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 VPN is enabled)

Ports used for IPSEC connections

  • UDP 4500
  • UDP 500

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

  • TCP 38081
     

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

**Please contact support if you need technical assistance to setup On-Premise Access Gateway**

 

Popular Support Articles

How to setup VPN Server in Linode

How to set up a DigitalOcean VPN Server with UTunnel

How to setup a VPN server in AWS

How to Deploy a Cloud VPN server

Setup Oracle Cloud VPN server with UTunnel

How to set up a UTunnel VPN Server with Vultr

How To Redeploy On-Premise VPN Server