跳到正文
文章中级

用 Cloudflare Tunnel 安全访问 MySQL 数据库

通过 Cloudflare Tunnel、私有网络路由和 Gateway 网络策略,让用户安全访问内网中的 MySQL 数据库。

最近更新
2026年10月12日
阅读原文

该介绍目前仅提供英文版本。

Cloudflare Tunnel’s private networks let users reach non-browser TCP/UDP applications such as databases. Zero-trust network policies decide who can connect, and users reach the database through the Cloudflare One Client.

What you’ll learn

  • Create a Cloudflare Tunnel
  • Add private network routes
  • Create a Gateway network policy
  • Optionally add a Gateway resolver policy

Cloudflare products used

Cloudflare Tunnel, Gateway, Cloudflare One.

Follow the full, step-by-step tutorial in Cloudflare’s documentation.

继续学习