Quick Tunnels
Last updated Sep 30, 2026
Quick Tunnels create a temporary trycloudflare.com URL for a local service. You do not need a Cloudflare account or domain.
Note
Quick Tunnels are for testing and development. For production, create a Cloudflare Tunnel.
Prerequisites
- Install
cloudflared. - Start a local HTTP server. This example uses
http://localhost:8080.
Create a Quick Tunnel
- In a terminal, start a Quick Tunnel:
sh
cloudflared tunnel --url http://localhost:8080
- Open the
trycloudflare.comURL printed bycloudflared.
Anyone with the URL can access your local service. The URL stops working when you stop the cloudflared process.
Restrict access by email
Use --allowed-mail to require email authentication. Visitors receive a one-time PIN before they can access your service.
- Start a Quick Tunnel with an allowed email address:
sh
cloudflared tunnel --url http://localhost:8080 --allowed-mail alice@example.com
- Share the generated URL with the allowed visitor.
- The visitor opens the URL and enters their email address.
- The visitor enters the one-time PIN sent to their email.
The visitor does not need a Cloudflare account.
Repeat the flag
Repeat --allowed-mail to allow multiple email addresses:
cloudflared tunnel --url http://localhost:8080 \
--allowed-mail alice@example.com \
--allowed-mail bob@example.com
Use a comma-separated list
Separate multiple email addresses with commas:
cloudflared tunnel --url http://localhost:8080 \
--allowed-mail 'alice@example.com,bob@example.com'
Allow an email domain
Use *@example.com to allow every address from a domain. Enclose wildcard values in quotes to prevent shell expansion:
cloudflared tunnel --url http://localhost:8080 --allowed-mail '*@example.com'
To change who can access the service, stop cloudflared and start a new Quick Tunnel. Access ends for everyone when the process stops.
Limitations
- Quick Tunnels have no uptime guarantee.
- Each Quick Tunnel supports up to 200 in-flight requests. Additional requests return a
429response. - Quick Tunnels do not support Server-Sent Events (SSE).
- Email authentication requires an interactive browser session. It does not support non-interactive clients.
- The hostname changes each time you create a Quick Tunnel.
For stable hostnames and production traffic, create a Cloudflare Tunnel.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/tunnel/get-started/quick-tunnels/#page","headline":"Quick Tunnels","description":"Create a temporary URL for a local service without a Cloudflare account. Restrict access with email one-time PINs.","url":"https://developers.cloudflare.com/tunnel/get-started/quick-tunnels/","inLanguage":"en","image":"https://developers.cloudflare.com/tunnel/get-started/quick-tunnels/og.png?v=7213d8a3f76b97aa","dateModified":"2026-09-30","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/"}}
description: Understand what Cloudflare Tunnel is, how it connects private resources to Cloudflare, how routes work, and how to get started. title: Tunnel fundamentals image: https://developers.cloudflare.com/tunnel/concepts/og.png?v=75878c44ba6b5d81
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.
Docs