My own VPN with WIREGUARD and DUCKDNS 🛡️

Опубликовано: 17 Июнь 2026
на канале: StRuLaBs
379
21

This is the fifth video in our complete series on building a Raspberry Pi 5 from scratch. In previous episodes, we learned how to configure the system, master Docker, and block ads with Pi-hole.

Video commands: https://www.strulabs.com/videos/mi-pr...

👉 In this chapter, we take the definitive step towards mobility and security: WireGuard.

Can you imagine browsing the internet in a coffee shop or airport with the same security as at home? Today, we're going to install our own VPN server using WireGuard and the WG-Easy visual interface. You'll learn how to create an encrypted tunnel to protect your data.

By the end of this video, you'll understand:

The real difference between a commercial VPN and a custom VPN.

How to use DuckDNS to ensure your server is always accessible, even if your home IP address changes.

How to deploy WireGuard in Docker, leveraging the native power of the Raspberry Pi 5.

How to configure your mobile phone in seconds using a QR code.

🛒 Raspberry Pi 5 kit used in this video (affiliate link)
👉 https://amzn.to/4rdRv5o

(By purchasing through this link, you support the channel at no extra cost to you.)

📌 WHAT WILL YOU SEE IN THIS VIDEO?

✔️ Commercial VPN vs. Custom VPN: Which one do you need?

✔️ The concept of a "Private Tunnel" explained simply

✔️ DuckDNS Setup (Domain and Token)

✔️ System Update and Directory Preparation on Raspberry Pi 5

✔️ Line-by-Line Explanation of the Docker Compose File

✔️ Installing WG-Easy (Visual Web Interface)

✔️ How to Open Port 51820 UDP on Your Router

✔️ Real Demo: Secure Connection from Your Mobile Device via QR Code

🚀 WHO IS THIS VIDEO FOR?

People who travel and want security on public Wi-Fi networks.

Users who share streaming accounts and want to avoid location-based blocking.

Privacy enthusiasts who want to control their own data.

Fans of the series who want to complete their home server setup.

🧩 VIDEO CHAPTERS
00:00 – Introduction
01:07 – Commercial VPN vs. Custom VPN: Key Differences
02:07 – Tech Stack: DuckDNS & WireGuard
02:52 – Configuring DNS: Why Do You Need It?

03:49 – Raspberry Pi 5 Setup (Terminal)
07:00 – Docker Compose Code Explanation (WG-Easy)
12:05 – Opening Ports on the Router
13:01 – WireGuard Visual Portal & QR Code
14:05 – Mobile Setup with QR Code
14:50 – Final Demo and Security Tests
16:16 – Conclusion and Closing

🔥 Support the video with a like and subscribe so you don't miss the rest of the series.

🔥 FOLLOW ME ON MY NETWORKS
📺 YouTube: @StruLabs
📸 Instagram: @stru.labs
🎵 TikTok: @StRuLaBs

#wireguard #vpn #raspberrypi #DuckDNS #privacy #homeserver #strulabs #docker #cybersecurity #privacy