Cloudflare Tunnel

Cloudflare Tunnel

I have opted for Cloudflare because of its ease of use, good pricing, and performance optimization due to its edge locations.

Pre-requsities:

  • Cloudflare ZTNA account, free to signup.

  • Cloudflare DNS: You can use their DNS for free even if you are registered with another domain provider. In my case, I am already a Cloudflare customer, so it is easy for me to integrate Cloudflare services.

  • Debian Host: As of now, Cloudflare Tunnel supports Debian OS and other enterprise Linux OSs but not Ubuntu.

Configuration

  • Sign in to your Cloudflare ZTNA account, and click on Create a tunnel under Networks → Tunnels.
    cldflare

  • After clicking Next, select cloudflared and name your tunnel.
    cloudflared
    create

  • After entering the name, follow the installation steps to install cloudflared on your Debian host.
    setup

  • This is the final step: set up a subdomain or domain for the instance.
    domain

  • You have successfully configured the tunnel and domain. Verify, you should be able to see nginx congratulations page when you query the domain, if you have configured the proxy properly.

⚠️
Portado is still in active development. Questions/Suggestions: open an issue