---
title: "Protect Quick Tunnels with email authentication"
url: "https://xlrocket.men/protect-quick-tunnels-with-email-authentication"
markdown_url: "https://xlrocket.men/protect-quick-tunnels-with-email-authentication.md"
format: "link"
published: "2026-10-04T12:17:54.000Z"
link_url: "https://developers.cloudflare.com/changelog/post/2026-10-02-protected-quick-tunnels/"
site: "火箭君 MEN"
---

# [Protect Quick Tunnels with email authentication](https://developers.cloudflare.com/changelog/post/2026-10-02-protected-quick-tunnels/)

译：用邮箱认证保护 Quick Tunnels

- cloudflared 新增 --allowed-mail：打开 trycloudflare.com 前要收邮件一次性 PIN。可放行单个地址、多个地址，或 \*@域名。
- 访客不必有 Cloudflare 账号，也不用自备域名。停掉 cloudflared，所有人的访问一起结束。
- GIGAZINE 同日实测：一条命令把 localhost 经外向加密隧道公开，不用开端口；并提醒这是开发测试用途，生产仍应用正式 Cloudflare Tunnel。[https://gigazine.net/news/20261004-cloudflare-quick-tunnels/](https://gigazine.net/news/20261004-cloudflare-quick-tunnels/)
