How to Deploy an On-Premise VPN Server

**Kindly contact support if you need technical assistance to set up an On-Premise VPN Server (Access Gateway)**

The following guide will walk you through the steps involved in creating a UTunnel On-Premise VPN Server or 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, click on the Proceed button.

deploy on premise vpn server_2_create server page

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

deploy on premise vpn server_3_order summary

4. If this is your first subscription, you will be asked to enter your credit card details. In that case, enter your payment details and click 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 VPN server creation status.

deploy on premise vpn server_4_deploying

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_5_registration token

7. Now it's 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.

**Kindly contact support if you need technical assistance to set up your On-Premise VPN Gateway**

 

Popular Support Articles

How to setup a VPN server in AWS

How to Deploy a Cloud VPN server

How to setup VPN Server in Linode

How to Set up a Hetzner VPN Server With UTunnel

How to set up a UTunnel VPN Server with Vultr

How to Update an On-Premise VPN Server

How To Redeploy On-Premise VPN Server