Installing WireGuard VPN server on NAT VPS.

Installing WireGuard VPN server on NAT VPS.

This post covers WireGuard VPN installation on NAT VPS.

We will be using a 256MB NAT VPS. It should also work on 128MB instance. Our Public IPv4 is and assigned ports are 14001-14020.

We will be configuring WireGuard VPN Server using Nyr's wireguard-install script on port 14010.

This will let you set up your own VPN server in no more than a minute, even if you haven't used WireGuard before. It has been designed to be as unobtrusive and universal as possible.

STEP 1: Reinstall OS to Debian 10

Login to the control panel & reinstall to fresh Debian 10 operating system.

control panel

STEP 2: Enable Tun/Tap and PPP

You can skip this step if you're using a KVM NAT VPS.
a. Go to Settings > VPS Configuration > enable Tun/Tap and PPP .
b. Press Submit.
Restart the VPS using control panel for changes to take effect.

STEP 3: SSH into your VPS

You can SSH using your dedicated IPv6 or shared IPv4 address.

Run Update:

sudo apt update -y

Use Nyr's wireguard script:

wget -O && bash

a. The script should detect your public IPv4 address automatically.
b. Enter the port to be used for wireguard, for this guide we will be using port 14010. You can use any of your assigned IPv4 ports.
c. Enter any name for your client config.
d. Select any DNS server, we will use Adguard as it blocks all ads automatically.
e. Enter Y to enable automatic updates.

f. Press any key to finalize installation.
g. Wireguard configuration will be saved. You can also scan the generated QR code using the wireguard client.

That's it! Your own personal Wireguard VPN Server is ready.

This article was made for WebHorizon NAT VPS - starting $7 per year.

Please consult your provider for exact steps.