How does Cloudflare Tunnel work?
Per Cloudflare's Tunnel documentation, cloudflared opens outbound connections from your origin to Cloudflare's global network, and traffic then flows both ways over them.
- cloudflared: the lightweight server-side daemon you install.
- Outbound-only: it connects out through your firewall, and most firewalls allow outbound traffic by default.
- Tunnel: a persistent object identified by a UUID, the logical link between your origin and Cloudflare.
- Connectors: you can run as many cloudflared processes as you need in one tunnel, and each sends traffic to the nearest Cloudflare data center.
From Cloudflare's Tunnel documentation, November 17, 2026.
What can it connect?
Cloudflare says Tunnel can connect HTTP web servers, SSH servers, remote desktops and other protocols safely to Cloudflare.
| Use | What the documentation says |
|---|---|
| Publishing a web app or API | Serve traffic through Cloudflare without exposing the origin to attacks that bypass Cloudflare |
| Private networking and Zero Trust | Use cases like VPN replacement and private network access |
| Remote access | SSH servers and remote desktops |
From Cloudflare's Tunnel documentation, November 17, 2026.
What does it do to your firewall?
You can allow only the outbound connections and block all inbound traffic, so the origin is reachable only through the tunnel.
Cloudflare also notes that Authenticated Origin Pulls has no effect on hostnames routed through a tunnel, because origin traffic is already authenticated with the tunnel's connector credentials. Tunnels are created from the Cloudflare dashboard or its API.
How should you plan a rollout?
Start with one low-risk service and keep a way back.
Costs for the plans around it are in the Cloudflare pricing guide.
- List the servers and apps that are open to the internet today and who needs access.
- Create a tunnel for one service and install cloudflared on its host.
- Route its hostname through the tunnel and test it.
- Close the inbound firewall rules for that service once it works.
- Repeat for the next service, and run more than one connector for resilience.
Frequently asked questions
What is Cloudflare Tunnel?
A way to connect your resources to Cloudflare without a publicly routable IP address, using outbound-only connections from the cloudflared daemon.
Does Cloudflare Tunnel need an open inbound port?
Cloudflare says no: cloudflared connects outbound, and you can block all inbound traffic to the origin.
What is cloudflared?
The lightweight daemon you install in your infrastructure. It creates the outbound connections, called tunnels, to Cloudflare's network.
How much does Cloudflare Tunnel cost?
Cloudflare's Tunnel documentation does not state a price, so we do not quote one. Check Cloudflare's plans page or ask Cloudflare.
Can you set up Cloudflare Tunnel for us?
Yes. We map what is exposed, create the tunnels, update the firewall and document it. Book a call to start.
Need help with Cloudflare?
We help small and mid-size businesses set up, secure, migrate and tidy their Cloudflare account. See our Cloudflare guides and services, and the website hosting, and the workflow automation service.



