{"id":1987,"date":"2023-01-13T14:11:52","date_gmt":"2023-01-13T12:11:52","guid":{"rendered":"https:\/\/upcloud.com\/global\/us\/resources\/tutorials\/private-vpn-server-upcloud-utunnel\/"},"modified":"2023-01-13T14:11:52","modified_gmt":"2023-01-13T12:11:52","slug":"private-vpn-server-upcloud-utunnel","status":"publish","type":"tutorial","link":"https:\/\/upcloud.com\/global\/resources\/tutorials\/private-vpn-server-upcloud-utunnel\/","title":{"rendered":"How to set up a private VPN Server using UpCloud and UTunnel"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">UTunnel is an easy-to-setup VPN as a Service (VPNaaS) provider, offering robust VPN and Zero Trust networking solutions targeted towards small and medium businesses. UTunnel enables easy VPN server deployment and administration, as well as trouble-free user management.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">UTunnel offers two options to set up your VPN server on UpCloud: the Integrated Cloud option and Bring Your Own Server(BYOS or on-premise) option. In this tutorial, we will discuss how to set up a VPN server on UpCloud VPS using both of the above options.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Signing up with UTunnel<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To start with, head over to <a href=\"https:\/\/www.utunnel.io\" target=\"_blank\" rel=\"noopener\"><strong>utunnel.io<\/strong><\/a> and sign up for an account using the <strong>Sign Up<\/strong> button at the top right corner.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/1-utunnel-get-started-1024x582.png\" alt=\"Get started with UTunnel\" class=\"wp-image-32356\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can choose to sign up for an <strong>Individual <\/strong>or <strong>Organization account<\/strong> based on your requirements. An organization account comes with many business-centric capabilities like team management, single sign-on, site-to-site tunnelling etc. to list a few.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/2-utunnel-sign-up-1024x520.png\" alt=\"Signing up with UTunnel\" class=\"wp-image-32357\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once you&#8217;ve registered and logged into your UTunnel account, you can start creating your first VPN server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Integrated Cloud Option<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The integrated cloud option is the easier of the two options to <a href=\"https:\/\/www.utunnel.io\/integrations\/upcloud-vpn-server\" target=\"_blank\" rel=\"noopener\">deploy your UpCloud VPN server<\/a> as it offers a fully automated VPN server deployment. You can set up the VPN server with just a few clicks without the need to execute a single command. You can follow the steps below to set up a VPN server using this option.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Deploying the VPN Server<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Deploying a VPN server on UpCloud using UTunnel\u2019s automated deployment process is quick and easy. To set up a new VPN server, while on your UTunnel dashboard, click the <strong>Create Server <\/strong>button on the top right portion of the page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/3-utunnel-dashboard-1024x606.png\" alt=\"UTunnel dashboard\" class=\"wp-image-32358\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The server creation page lets you choose your subscription type, server specifications and the number of user licenses. You can find the option below:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select package &#8211; Select your package(Basic\/Standard) based on your requirements<\/li>\n\n\n\n<li>Server type &#8211; Choose your server type to be <strong>Cloud<\/strong><\/li>\n\n\n\n<li>Server name &#8211; Provide an easily identifiable name as the server name<\/li>\n\n\n\n<li>Provider &#8211; Select the provider as <strong>UpCloud<\/strong><\/li>\n\n\n\n<li>Location &#8211; Choose a server location from the available geolocations<\/li>\n\n\n\n<li>Instance type &#8211; Select an instance type depending on your requirements.<\/li>\n\n\n\n<li>VPN accounts &#8211;&nbsp; Choose the number of VPN user licenses required on the server.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/4-utunnel-create-server-cloud-1024x788.png\" alt=\"Creating cloud VPN server with UTunnel\" class=\"wp-image-32359\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Click on the <strong>Proceed<\/strong> button once you have made your choices. You will then be presented with an Order Summary page to confirm the details. Click on <strong>Proceed<\/strong> to make the payment.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once you have made the payment, your VPN server in UpCloud will be deployed and ready in a couple of minutes. You can now install the UTunnel <a href=\"https:\/\/www.utunnel.io\/download-vpn-client-applications\" target=\"_blank\" rel=\"noopener\"><strong>VPN client apps<\/strong><\/a> to connect to your newly created VPN server in UpCloud. You can also manage the users and teams who would need access to the VPN server from the UTunnel dashboard.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Bring Your Own Server(BYOS) \/ On-Premise Option<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Bring your own server option lets you deploy a VPN server on a cloud VPS in your own UpCloud account. You will require an UpCloud VPS running Ubuntu 20.04 to install a UTunnel VPN server. The steps to deploy an UpCloud VPN server using the BYOS or on-premise option are as follows:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Signing up with UpCloud<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you have not yet registered on UpCloud, <a href=\"https:\/\/signup.upcloud.com\/\">begin by getting signed up.<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Deploying an UpCloud server<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Setting up a new server on UpCloud is an easy process. You can start the process by logging into your UpCloud Control Panel and select to <a href=\"https:\/\/hub.upcloud.com\/deploy\/\">Deploy a server<\/a> under the Servers section.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The deployment page shows many options for customizing a new cloud server.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Location &#8211; You can choose your server location from the list of available data centres<\/li>\n\n\n\n<li>Plan &#8211; Select a plan that works according to your requirements.<\/li>\n\n\n\n<li>Storage &#8211; Choose a storage size depending on your usage&nbsp;<\/li>\n\n\n\n<li>Operating System &#8211; Select Ubuntu 20.04 as the operating system<\/li>\n\n\n\n<li>Server hostname and description &#8211; Choose an identifiable name for your server as the server name<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">You can find more detailed instructions on server deployment at the <a href=\"https:\/\/upcloud.com\/global\/resources\/tutorials\/deploy-server\">UpCloud newcomer\u2019s tutorials<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Go ahead with deploying your server when you&#8217;ve finished configuring the server settings. Once the new server is created, do not forget to <strong>note down the IP address<\/strong> of the newly created UpCloud instance.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Setting Up your UpCloud VPN server with UTunnel<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sign up and log in to your UTunnel account dashboard. If you do not have an account, go ahead and sign up for a Personal or Organization account.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After logging into your UTunnel account, continue by creating a new VPN server by clicking the <strong>Create Server<\/strong> button on your account homepage. You can now customize your subscription and server specifications as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select Package &#8211; Select a package that best suits your requirements<\/li>\n\n\n\n<li>Server Type &#8211; Choose the server type as on-premise<\/li>\n\n\n\n<li>Server Name &#8211; Select an identifiable name for your server<\/li>\n\n\n\n<li>IP Address &#8211; Input the <strong>IP address of your newly created UpCloud instance.<\/strong><\/li>\n\n\n\n<li>VPN accounts &#8211; Choose the number of VPN user licenses required on the server.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/5-utunnel-create-server-on-premise-1024x784.png\" alt=\"Creating VPN server to connect on-premise server\" class=\"wp-image-32360\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can click on <strong>Proceed<\/strong> to view the order summary. Proceed and make the payment and you will get a <strong>server registration token. <\/strong>You will need this token to register your VPN server.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/6-utunnel-server-overview-1024x516.png\" alt=\"UTunnel server registration token\" class=\"wp-image-32361\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Registering Your Server<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The next step is to register your cloud server. To do this, you first need to <a href=\"https:\/\/upcloud.com\/global\/resources\/tutorials\/connecting-to-your-server\">connect your server via SSH<\/a> and run the following commands.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create a directory named <strong>utunnel<\/strong> and make it the current working directory<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">sudo mkdir \/utunnel &amp;&amp; cd \/utunnel<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then download the required files and extract them<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">sudo wget https:\/\/files.utunnel.io\/production\/deploy\/install_bundle_20.tar<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">sudo tar -xf install_bundle_20.tar<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Register your UpCloud VPN server after replacing <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">YOUR_REG_TOKEN<\/mark> with the registration token you received at the VPN server overview as shown in the screenshot above.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">sudo \/utunnel\/bin\/utnservice register <span style=\"color:red;\">YOUR_REG_TOKEN<\/span><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Lastly, start the VPN server<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">sudo \/utunnel\/bin\/utnservice start<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s it! you have now successfully deployed a UTunnel VPN server on your UpCloud VPS using the BYOS option.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can now install the UTunnel <a href=\"https:\/\/www.utunnel.io\/download-vpn-client-applications\" target=\"_blank\" rel=\"noopener\"><strong>VPN client apps<\/strong><\/a> and connect to your newly created VPN server on UpCloud. You can manage the users and teams who would need access to the VPN server from the UTunnel dashboard.<\/p>\n","protected":false},"author":68,"featured_media":32615,"comment_status":"open","ping_status":"closed","template":"","community-category":[223,259,253],"class_list":["post-1987","tutorial","type-tutorial","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial\/1987","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial"}],"about":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/types\/tutorial"}],"author":[{"embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/users\/68"}],"replies":[{"embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/comments?post=1987"}],"version-history":[{"count":0,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial\/1987\/revisions"}],"wp:attachment":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/media?parent=1987"}],"wp:term":[{"taxonomy":"community-category","embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/community-category?post=1987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}