← all posts

I installed Cloudflare Tunnel to secure my VPS even further and block all inbound traffic on Hetzner

New fun thing I did to secure my VPS even further

I installed @Cloudflare Tunnel, many of you recommended me this

I already had 443 inbound firewall limited to Cloudflare's IP range, but this is even better

Cloudflare Tunnel is outbound, which means it connects from your server to Cloudflare, and keeps the connection active, then if someone opens your site, Cloudflare sends you the package via the tunnel and your server responds

Then you can block ALL inbound traffic on your firewall (in my case the Hetzner firewall in the dashboard), so now NOBODY can ever access my server, only Cloudflare and Tailscale (which is my own subnet which just my server and my laptop on it)

You can just ask AI to set it up on the server etc., very easy

Originally posted on X · 💬 Reply to this on X

P.S. I'm on 𝕏 too if you'd like to follow more of my stories. And I wrote a book called MAKE about building startups without funding. See a list of my stories or contact me.

I write about building startups without funding, traveling and living. Get every new post in your inbox

Subscribing you...
Subscribed! Check your inbox to confirm your email.

Or subscribe on Telegram →


Related posts