How to Set Up a WireGuard Server (self hosted VPN) @TonyTeachesTech
How to Set Up a WireGuard Server (self hosted VPN)  @TonyTeachesTech
Uploaded June 2025 | Updated September 2026, 1 week ago
Learn how to set up a WireGuard server and run your own self-hosted VPN quickly and easily. This step-by-step tutorial shows you how to host a VPN on a VPS, so you stay in full control of your data and privacy.

The following links are affiliate links. I may earn a commission if you sign up, at no extra cost to you!
🔗 Get $100 free server credits (follow along for free!): https://ttt.do/KamateraVPN

What You’ll Learn
✅ Benefits of running a self-hosted VPN
✅ WireGuard server setup
✅ Generate VPN client profiles

⏱️ Chapters
00:00 Why self-host a VPN
00:32 Spin up a VPS
02:50 Set up DNS for your VPN server domain
03:53 Login and update Ubuntu server
04:58 WireGuard vs WireGuard Installer
05:36 Download & run the WireGuard install script
06:41 Create VPN client configuration
07:33 Download client config file
08:15 Download WireGuard client
08:37 Import tunnel from file
08:48 Check IP without VPN
9:00 Turn on WireGuard VPN
9:23 Additional security steps

WireGuard installer docs github.com/angristan/wireguard-install

As an Amazon Associate, I earn from qualifying purchases.
🔗 Recommended home server VPN (Raspberry Pi 5 Kit): https://ttt.do/RaspberryPiVPN
How to Set Up a WireGuard Server (self hosted VPN)
Tony Teaches Tech |

How to Set Up a WireGuard Server (self hosted VPN)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER