CentrioHost Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog

How to install WireGuard Road Warrior VPN on VPS – CentrioHost

  • Category : VPS
  • Posted on : Dec 12, 2020
  • Views : 1,409
  • By : CentrioHost

There are so many advantages of using a VPN, from having the option to veil your local IP address to having the option to keep away from regional limitations for websites like Netflix to just needing a feeling of security when you browse the world wide web. Public Free VPNs can’t generally be trusted, and running your own VPN server and IP address is the best way to know beyond all doubt that you are secure. The best information is it is easy to set up a VPN server fast, simple, and within a few easy steps.

This script will let you set up your own VPN Server in no more than five minutes, even if you have not used WireGuard at time before. It has been designed to be as unobtrusive and universal as possible. I have tested this script on Ubuntu, Debian, CentOS and Fedora Operating Sytems.

Step 1: Buy a Cheap Cloud VPS

Step 2: Login to your VPS or Server via SSH

Login to your VPS or Server via SSH after run the following Command and follow the assistant:

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

You will be presented with the following screen:

Welcome to this WireGuard road warrior installer!

I need to ask you a few questions before starting setup.

You can use the default options and just press enter if you are ok with them.

What port do you want WireGuard listening to?

Port [51820]: 51820

Enter “51820” and press “ENTER”.

Tell me a name for the first client.

Client name [client]: reb.vpn.centriohost.com

Enter “reb.vpn.centriohost.com” (You can enter any other name if you like) and press “ENTER”.

Which DNS do you want to use for this client?

   1) Current system resolvers


   3) Google

   4) OpenDNS

   5) NTT

   6) AdGuard

DNS [1]: 3

Here you can enter “3” and press “ENTER”.

We are ready to set up your WireGuard server now.

Press any key to continue… 

Press “ENTER” to continue.

The process might take a few moments to install, and then from there your VPN server will be configured.


Your client configuration is available at: /root/reb_vpn_centriohost_com.conf

Once it ends, you can run it again to add more users, remove some of them or even completely uninstall the WireGuard if required.

Step 3: Download the VPN Configuration File

Connect to VPS via FTP Client or Software to Download the VPN Configuration “reb_vpn_centriohost_com.conf” File, refer to this blog post to download Free FTP Clients or Softwares, I am using Cyberduck for this blog post.

Use SFTP and enter your VPS’s IP address, User “root” and password to connect.

Login to VPS or Server via SFTP

Right click on file “reb_vpn_centriohost_com.conf” and Download it.

Download VPN Configuration File

Step 4: Download the WireGuard VPN Application  

You can Download WireGuard VPN Application from the website.

Download WireGuard VPN Application

After right click on “Import tunnel(s) from file” 

Import VPN Configuration File

Import the file “reb_vpn_centriohost_com.conf” and click on “Activate”.

Import VPN File via WireGuard Application

You will see the following screen after activated. 

Activate VPN via WireGuard Application

Now you can check your local IP address to ensure that the VPN is working properly or not by opening a Google and write “what is my ip address” to verify.

Check on Google What is My IP Address

I hope it was an easy process to set up the WireGuard VPN Server from a VPS.

If you ever run into any issues with your CentrioHost KVM VPS, feel free to reach out to us and we will be more than happy to fix the problem for you. It’s an included service in our 24/7/365 via technical support and VPS management. 

Use code 10CENT for a 10% Recurring Discount on any KVM Server.

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar


Over 20000 Satisfied Customers!

  • web hosting reviewer
    Valerie Quinn
    CTO, Acteon Group

    Centriohost staff were fantastic, I had a concern with a domain and they got back to me very quickly and they helped me to resolve the issue! ~ . . . Read more

  • Joomla hosting reviewer
    Collin Bryan
    Photographer, Allister Freeman

    I'm using centrio for my portfolio since 2006. The transition was seamless, the support was immediate, and everything works perfectly. ~ . . . Read more

  • dedicated server reviewer
    Harry Collett
    Actor, A&J Artists

    Very easy to understand & use even though I am not very technologically minded. No complications whatsoever & I wouldn't hesitate to recommend it to all. ~ . . . Read more

  • vps web hosting reviewer
    Porfirio Santos
    Technician, Diageo PLC

    Centrio support team have been amazingly responsive and helpful to any of my queries, thank you so much to the Centriohost have been amazingly responsive and helpful to any of my queries 👍👍👍 ~ . . . Read more

  • wordpress hosting plans reviewer
    Catherine Auer
    Doctor, SmartClinics

    Anytime I've had a problem I can't solve, I've found Centriohost to be diligent and persistent. They simply won't let an issue go until the client is happy. ~ . . . Read more

  • reseller hosting reviewer
    Effectivo Social
    Freelancer, Fiverr

    Recommend their shared hosting for all my SME web design clients. Their cloud or VME offerings are too great to deal with. Pricing is perfect and suitable for all users (͠≖ ͜ʖ͠≖) 👌 ~ . . . Read more