Setting up Wireguard on a VPS
Access services running on your VPS privately from trusted clients only. It's choped up into individual parts to seem less daunting, the whole thing together is the page.
Part 1 – Installation and server configuration
Introduction You have one or more services running on a VPS somewhere. Because the VPS is sittin...
Part 2 – Clients setup (Windows & Android)
Setting up the clients 1. Windows Download and install Wireguard Download the Windows Installe...
Part 3 – Migrating services on VPS
Moving network services to the WG interface In order to move our network services to another int...
Part 4 – DNS server setup for clients
Setup basic DNS server on Linux So I will eventually have to setup a DNS server on the Wireguard...
Part 5 – Adjusting Firewall (iptables)
Adjusting Firewall rules Everything regarding the Wireguard VPN should be configured: Wireguard...
Part 6 – Final troubleshooting
Enable Wireguard on startup If we are going to move SSH into the Wireguard tunnel only, we need ...
Part 7 – Migrating SSH access
Migrate SSH to Wireguard interface Notice that I am running SSH on a non-standard port. The defa...
(FULL) Setting up Wireguard on VPS
Introduction You have one or more services running on a VPS somewhere. Because the VPS is sittin...