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
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it. Join my free newsletter and you get this course plus every other book and course I published.
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it.
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.
Course 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.