Cloudflare Private Origins explained: hide your backend from the public internet

Why exposed origin IPs are a real attack surface, and how to lock them down with Private Origins and Cloudflare Tunnel

By · · 8 min read

Putting Cloudflare in front of your app doesn't help much if attackers can reach your origin server directly. This beginner tutorial explains what Cloudflare's new Private Origins feature does and shows how to set it up with Cloudflare Tunnel so your application servers are never directly reachable.

Putting Cloudflare in front of your application feels like a finished job: the orange cloud is on, the WAF blocks junk and DDoS protection runs in the background. All of that covers only the traffic that goes through Cloudflare, though. Below, you'll see how origin IPs leak and how to pair Cloudflare's new Private Origins feature with Cloudflare Tunnel, so your backend has no public address left to find.

Read the full article on LearnXops (free with a LearnXops account).