In this guide, we will install OpenVPN on a VPS to create our own VPN network.

You can read what you can do with your own VPN HERE.

Downloading the necessary files for your gaming VPN

First, we need to download the necessary software:

Filezilla: This is an FTP software which we will use to access the files on our VPS.  Don’t worry as with all software on this list it is also free and open source.
Download link: https://filezilla-project.org/

Putty: We will use this software to access the OS (Operating System) of our VPS.
Download link: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

OpenVPN: We will use OpenVPN desktop application to access the VPN once we created it on our VPS.

Download link: https://openvpn.net/index.php/open-source/downloads.html
(We tested it with version 2.2.2 if you wish to complete the guide with the exact same software here is the link:
http://swupdate.openvpn.org/community/releases/openvpn-2.2.2-install.exe )

We also need to install OpenVPN on our VPS for which we will use a Script:
Link: https://github.com/Nyr/openvpn-install

Now let’s start the guide:

1. Buy a VPS. (It depends on your use case which VPS package you need to buy, but for most people, the cheapest one is sufficient to start out with.)

2. Choose an OS for your VPS, I recommend either Debian or CentOS because these are both very stable Linux Distributions. Also, we recommend the X86 version instead of the X64 version as the X64 version has no benefits for a small VPN, however it uses more System resources.

3. Once you finished with your VPS setup start Putty and use the IP and SSH Port to access your VPS OS.

4. Login as root and use your password (You may need to change your password depending on OS.)

5. Install updates on your OS. ( If needed. )

If you chose Debian OS type in:
apt-get update ( This will update your repositories with the latest package informations. )
apt-get upgrade  ( This will download and install fresh packages if there is any. )

(You can copy-paste these commands into Putty by right clicking in the putty window and it will copy whatever you have on your clipboard.)

If you chose CentOS OS type in:

yum update    (No need for yum upgrade as it performs the same function in CentOS)

 

6. Use the script mentioned at the beginning of this guide:

wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh

7. Follow the instructions in Putty, if in doubt just use the default settings and install OpenVPN (Once OpenVPN is installed you can type in exit to  exit the consol!)

8. Start Filezilla and access your VPS.

9. Find the Config file that was generated and download it. (The Config file will be in the Root of your VPS)

10. Copy paste the config file into your OpenVPN Config Folder. (The name before the .ovpn will be the name that you specified during installation.)

Your OpenVPN Config folder is located where you installed the software to begin with. The default path is: C:\Program Files (X86)\OpenVPN\config\

11. Start the OpenVPN GUI in Administrator mode and Connect by right clicking on the small OpenVPN Icon!

And you are Done!

You can start OpenVPN and connect to your VPN anytime!

Author HostMyGuild
Published
Categories VPS
Views 207

Comments (1)

Leave a Reply