Cloudflare Tunnel (4)

Last updated Sep 11, 2026 Securely connect your origin servers, APIs, and services to Cloudflare with post-quantum encrypted tunnels — no public IPs required.

Available on all plans

Looking for private networking or Zero Trust?

This documentation covers Cloudflare Tunnel use cases for public applications. For VPN replacement, private network access, and network traffic filtering, refer to the Cloudflare One Tunnel documentation.

Cloudflare Tunnel connects your infrastructure to Cloudflare through an outbound-only, post-quantum encrypted connection. Instead of exposing a public IP, you install a lightweight daemon called cloudflared on your server. It creates a persistent tunnel to Cloudflare's global network, so all traffic to your origins flows through Cloudflare — where CDN caching, WAF, Bot Management, and DDoS protection are applied automatically.

No open inbound ports. No public IPs. No attack surface.

How it works

  1. Install cloudflared on your server or network.
  2. cloudflared establishes outbound, post-quantum encrypted connections to Cloudflare — no inbound ports or firewall changes required.
  3. Map public hostnames to local services (for example, app.example.com to http://localhost:8080).
  4. Traffic flows through Cloudflare's network to your origin, with full CDN and security applied.

Each tunnel maintains four long-lived connections to two Cloudflare data centers for built-in redundancy. You can run multiple cloudflared replicas for additional high availability.

How an HTTP request reaches an origin connected with Cloudflare Tunnel

Use cases

  • Secure origin connectivity — Eliminate public origin IPs. All traffic flows through Cloudflare with CDN, WAF, and DDoS protection applied.
  • Public ingress routing — Publish internal applications to the internet by mapping public hostnames to local services. Supports HTTP, HTTPS, TCP, SSH, RDP, and more.
  • Workers VPC — Enable Cloudflare Workers to securely access private databases, APIs, and services through your tunnel.
  • Load Balancing — Use tunnels as origin endpoints in Cloudflare Load Balancer pools for high availability and intelligent traffic steering.

Get started

Create your first tunnel

Set up a tunnel in under 5 minutes using the dashboard or API.

Routing

DNS records, protocols, and load balancing for published applications.

Integrations

Cloudflare One, Workers VPC, Load Balancing, Access, and more.

Configuration

Replicas, firewall rules, tokens, and runtime parameters.

Was this helpful?

YesNo

On this page

Cloudflare Tunnel (4) - 图2Docs

{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/tunnel/#page","headline":"Cloudflare Tunnel","description":"Securely connect your origin servers, APIs, and services to Cloudflare with post-quantum encrypted tunnels — no public IPs required.","url":"https://developers.cloudflare.com/tunnel/","inLanguage":"en","image":"https://developers.cloudflare.com/tunnel/og.png?v=a14e3851b6a0133e","dateModified":"2026-09-11","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"},"keywords":["Post-quantum"]}


description: Create your first Cloudflare Tunnel and publish an application in under 5 minutes. title: Get started image: https://developers.cloudflare.com/tunnel/get-started/og.png?v=d2faec8e7bce325e


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/tunnel/llms.txt
Use this file to discover all available pages before exploring further.