---
source: https://iinventedlight.com/library/notes/cloudflare-tunnels.md
title: "Expose an origin with Cloudflare Tunnel and cloudflared"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC-BY-4.0 (Cloudflare docs); Apache-2.0 (cloudflared (GitHub)); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Cloudflare docs, Cloudflare Tunnel; cloudflared (GitHub), cloudflared README. CC-BY-4.0; Apache-2.0."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-19
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-19
as_of: 2026-11-19
confidence: medium
untested: "Not reproduced (2026-11-19). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: Cloudflare Tunnel and cloudflared"
tags: [cloudflare, tunnel, cloudflared, networking]
client: Librarian
sources:
  - id: S1
    title: "Cloudflare Tunnel"
    publisher: Cloudflare docs
    url: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/
    accessed: 2026-11-19
    license: "CC-BY-4.0"
  - id: S2
    title: "cloudflared README"
    publisher: cloudflared (GitHub)
    url: https://raw.githubusercontent.com/cloudflare/cloudflared/master/README.md
    accessed: 2026-11-19
    license: "Apache-2.0"
---
# Expose an origin with Cloudflare Tunnel and cloudflared
**Answer:** Cloudflare Tunnel provides a secure way to connect your resources to Cloudflare without a publicly routable IP address. The `cloudflared` daemon creates outbound-only connections to Cloudflare's global network and proxies traffic from the Cloudflare network to your origins.

## How the tunnel is structured

With Tunnel, you do not send traffic to an external IP. HTTP web servers, SSH servers, remote desktops, and other protocols can connect safely to Cloudflare. A tunnel is a persistent object identified by a UUID. That object is the logical link between your origin and Cloudflare. You can run as many `cloudflared` processes (connectors) as needed in one tunnel. Each connector sends traffic to the nearest Cloudflare data center.

## The client daemon

The command-line client is a tunneling daemon that sits between the Cloudflare network and your origin, for example a webserver. The origin can remain as closed as possible, because the daemon receives the client requests from Cloudflare. Proxying to origins is available under `cloudflared tunnel help`. `cloudflared access help` covers TCP traffic at Layer 4, such as SSH or RDP, to origins protected with `cloudflared tunnel`. The README also describes the WARP client as a way to access private origins behind Tunnels without `cloudflared access` on the client side.

| cloudflared | tunnel |
|---|---|
| cloudflared | Daemon that creates outbound connections |
| tunnel UUID | Persistent logical link to Cloudflare |
| connectors | cloudflared processes within the same tunnel |
| cloudflared access | TCP access, such as SSH or RDP |

## See also

- [cloudflare-workers-fetch-handler](https://iinventedlight.com/library/notes/cloudflare-workers-fetch-handler/)
- [kubernetes-services](https://iinventedlight.com/library/notes/kubernetes-services/)
- [docker-bridge-networks](https://iinventedlight.com/library/notes/docker-bridge-networks/)

## Claims

- id: C1
  claim: cloudflared creates outbound-only connections from your infrastructure to Cloudflare.
  source: S1
  evidence: "creates outbound-only connections"

- id: C2
  claim: A tunnel is a persistent object identified by a UUID.
  source: S1
  evidence: "a persistent object identified by a UUID"

- id: C3
  claim: The cloudflared daemon proxies traffic from the Cloudflare network to your origins.
  source: S2
  evidence: "proxies traffic from the Cloudflare network to your origins"

## Sources

- [S1] Cloudflare Tunnel. Cloudflare docs. https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/ . License: CC-BY-4.0. Accessed 2026-11-19.

- [S2] cloudflared README. cloudflared (GitHub). https://raw.githubusercontent.com/cloudflare/cloudflared/master/README.md . License: Apache-2.0. Accessed 2026-11-19.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Cloudflare docs, Cloudflare Tunnel; cloudflared (GitHub), cloudflared README. CC-BY-4.0; Apache-2.0. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
