What is WireGuard VPN?

The WireGuard VPN protocol allows you to create a secure network to protect your privacy and search history from hackers, snoopers, eavesdroppers and even your ISP. With a very easy VPN client configuration that supports multiple users, it is an ideal option for companies and businesses with employees that work remotely.

What you get with a self-hosted WireGuard VPN server

  • Dedicated Static IP

  • Unlimited Devices

  • Full Control

  • Complete Transparency

  • Verifiable No Logs Policy

  • Port Forwarding

Pre-Requisites

You will need to download and install the WireGuard VPN client so that you can connect to your server. You can do this from the official WireGuard website.

Initial Setup

To further protect your privacy, your initial user profile will not be sent to you via email. For maximum security, you will be required to access your server using the root password that you’ve selected and you will need to copy your client configuration using:

cat /root/client.conf

If you need to connect to a mobile device, you can do so by scanning the connection QR code, which can be displayed with:

cat /root/wireguard_qr.txt

How to add additional user profiles

Start by logging into your server and running:

/root/wireguard-install.sh

If you wish to add a new configuration file, type 1 and hit Enter. Next, provide a name and choose a DNS server, with our recommendation being to choose Quad9 or CloudFlare (1.1.1.1) as a DNS resolver for maximum privacy protection.

To display the new configuration file, enter this command:

cat /root/<new-client-name>.conf

You can also use the /root/wireguard-install.sh command to remove configuration files.

Useful resources

How to manage a VPSBG cloud server with WireGuard VPN

WireGuard VPN installation script on GitHub

It is always better to use VPN hosted on VPS instead of VPN service

OpenVPN vs WireGuard vs SoftEther vs L2TP - The Ultimate VPN Protocol Comparison

Protect your privacy with a personal WireGuard VPN server today!