Free course
VPN Course
Learn how VPN tunnels, encryption, routing, DNS, and access control work, then build a WireGuard VPN and a Cloudflare private network.
Prerequisites: Shell Commands, Linux Basics, HTTP and DNS
Your progress
of lessons completed.
Course completed.
What you'll learn
Trace traffic through a VPN, build and verify a small WireGuard setup, and create a VPN replacement with Cloudflare Tunnel and the Cloudflare One Client.
Take this course offline
Subscribe to my newsletter to get every free book and course in PDF and EPUB format.
Get the downloadsCourse contents
VPN foundations
Understand the problems VPNs solve, the paths they create, and the trust they move.
Tunnels and protocols
Separate tunneling from encryption and compare the main protocol designs.
Routing, DNS, and privacy
Control traffic paths, private ranges, name resolution, egress, and leak protection.
Build a WireGuard VPN
Create keys, configure both peers, route traffic, verify the tunnel, and remove it safely.
Cloudflare VPN replacement
Understand how Cloudflare Tunnel, the Cloudflare One Client, identity, and policies fit together.
Build a Cloudflare private network
Connect a private network, enroll a remote device, restrict access, and test the complete path.
Operate and choose
Troubleshoot by layer, maintain access safely, and choose the right design for each job.