Skip to content

The Neighbours

Cloudflare Tunnel is one answer to a question with several: how does a service on this side of a router get reached from the other side? The neighbours below are characterised, not benchmarked — none was run by this guide's lab, and the comparisons are about shape, cost and who holds which part, which are the grounds on which you actually choose.

A port forward

The incumbent. Free, immediate, entirely yours — and it publishes your home address, opens a hole scanners will find within the hour, and stops existing behind CGNAT. When you own the network edge, need a raw protocol the web-shaped doors cannot carry, and can defend the service, it remains a legitimate answer. It is the thing this guide's tool exists to replace, and chapter 1's costs are its honest description.

SSH reverse forwarding

ssh -R asks a server you control somewhere public to lend its ear: the server listens on a port, and whatever arrives is carried back down your SSH connection to a local service. The same inversion as a tunnel, with parts you already have — the SSH guide in this series covers forwarding in depth. What it lacks is everything around the connection: no managed name (your SSH server's address is the address), no edge in front of it, TLS is your problem, and the borrowed port is a port, not a hostname with rules. For one person moving one service to one server they own, it is often exactly enough.

Tailscale, and Funnel

Tailscale builds a private network among your own machines — the opposite instinct: reach home services from your laptop anywhere, with nobody else able to see the door exists. Its add-on Funnel is the publishing cousin, exposing one service publicly through Tailscale's infrastructure, with its own limits on names and ports. The choice between Funnel and a Cloudflare Tunnel is mostly a choice of which company and which dashboard you already trust; the series' Tailscale guide covers its half in full.

A VPS and a reverse proxy

The fully-owned classic: rent a small server with a public address, point your DNS at it, run WireGuard back to the house, and let Caddy or nginx on the server proxy requests down the VPN to your services. Every part is yours, the public address is stable and cheap, and raw protocols can be forwarded as you please. The price is that every part is yours — the server's patching, the certificates (Caddy automates them; see the series' guide), the VPN's keys, the bill. Cloudflare Tunnel is, in large part, this architecture with the VPS and the VPN replaced by an account and an outbound connection.

The other tunnel services

ngrok is the best known of a family — frp, bore, localtunnel and others share the shape: a hosted rendezvous, an agent on your machine, a public name. They differ in free-tier limits, whether names can be stable or custom, and polish. Quick tunnels in particular are a commodity; trying two costs an afternoon and teaches the shape better than any comparison table. What none of them changes is the trust shape of chapter 11: a third party terminates your visitors' encrypted connections, by design.

Which door, when

  • Just you, reaching your own machines: a private mesh (Tailscale, or WireGuard by hand). Do not publish what only you need.
  • A public web service, your own domain, no open ports: this guide's tool — or Funnel, if you already live in the other garden.
  • Ten minutes and a friend: a quick tunnel, anyone's.
  • Raw protocols, total ownership, or no third parties tolerated: the VPS and reverse proxy, or a plain port forward behind your own defences.