How to deploy an On-Premise VPN server

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

 

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

1. Visit our website and click LOGIN button at the top right to sign in with your UTunnel login credentials. 

2. You will reach the Servers screen. Click Create Server button at the top right to create a new server.

3. The next step is to select the On-Premise option and enter the server details as given below:

  • Package: You can select from Basic or Standard subscription options
  • Server Type: Select On-Premise
  • Server 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 server
  • Coupon: Enter if you have any coupon available

Click on the Proceed button toward the right bottom of the screen.

 

4.  You will be now on the Order Summary screen which displays the details of your order.Click Proceed.

 

5. Now enter your credit card details as required on the screen and click on Pay Now option.

 

6. You will be redirected to the dashboard now. Here you can see the status of server creation.

7. You will be redirected to the Server Details screen where the registration token is displayed. Please copy the registration token to a safe place, this token is required when you deploy the server.

 

8. 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 Server Details page (Step #7).

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

 

10. 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, firewall, and site-to-site tunneling.

  • TCP 38081
     

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

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

 

Popular Support Articles

How to Set up a Hetzner VPN Server With UTunnel

How to set up a DigitalOcean VPN Server with UTunnel

How To Redeploy On-Premise VPN Server

How to Update an On-Premise VPN Server

How to set up a UTunnel VPN Server with Vultr

How to Deploy a Cloud VPN server