How To

Setup Your Own VPN with Less Than 10 Minutes.

Posted on .

Setup Your Own VPN with Less Than 10 Minutes.


What is VPN?

A VPN or Virtual Private Network is a secure tunnel between two or more devices which will help you to protect your device traffic from censorship, snooping and interference.

Let’s get Started


  1. VPS Server
  2. OpenVPN – OpenVPN is an open source software application that implements VPN techniques for secured point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities.
  3. OpenVPN Connect – Clients for Android & iOS

Deploy your cloud server

You need a VPS server to configure your VPN on the cloud. Which you can get from VPS server providers like Linode, Digital Ocean. In this tutorial, I am using a VPS server from Linode.

Deploy your server with operating systems like Debian, Ubuntu or CentOS.


Once the server deployment is performed, boot the server and log in to the server as Root. In Linode, you can use Lish Console to login into the server, which is very easy and convenient for Non-IT people.

Installing OpenVPN on Server

Once successfully login into the server, run the below command and follow the assistant.

wget -O && bash

Then it will ask you to confirm your IP address. Press the enter key. This IP address will be the IP of your VPN server. All of the connections between your device and internet will be passing through this server.


In the next step, it will ask you to select the Protocol. If you are mainly using your devices for streaming online video, audios choose UDP. Otherwise, you can go with TCP which is more reliable than the UDP. We will discuss the difference between UDP and TCP in an upcoming article.


After choosing a protocol, you have to select the port. By default, it will come with port 1194. You can use it without any issues so hit the enter, and in the next step, you have to select DNS servers from few options. You can go with the current nameservers, which will belong to your VPS providers.

In the end, you will be asked to choose a name for your first VPN user. The default name will be Client, but you can always change it as something else like POTATO. :p

That’s all with the installation. It will create a user, and in the end, it will show where the created profile located. The user profile will be with the .opvn extension.

Configuring the VPN for your Device(Mobile/ Desktop)

You have successfully created a VPN user profile which you are going to use to set a VPN on your device.

Download the Profile and Install

You can use FTP/SCP software like FileZilla, to download the profile. Login to your server, download the profile you can go ahead to install it. You must have an OpenVPN client to install it. Download and Install OpenVPN Connect app to configure the VPN on your mobile devices. You can get it from Play store and App Store.

Configuring OpenVPN on Mobile Devices.

Apple: For iOS devices, you can’t download the files directly. So, download the profile from your laptop and send/upload it to the email, which you have logged in your mail app. Open the mail, long press on file will give you some options to select where to copy, choose Connect OpenVPN from the options, and you are ready to go.

Android:  Download the profile from the mail, open the OpenVPN Connect app and import the file. It will prompt asking some permissions and grant the permissions. That’s all.

Adding new user

You can have any number of users, based on your server capacity. To create a new user enter the same command again and follow the assistant.

wget -O && bash


If you have any doubts regarding this guide, please don’t hesitate to fire the questions in the comments section. Happy and Safe Browsing!

Thiru Kumaran

Thiru Kumaran

  • user

    AUTHOR Yathush

    Posted on 8:53 pm March 17, 2018.

    Thank you. It’s very helpfull👏

  • Leave a Reply

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    View Comments (1) ...