跳转到主要内容

Client-side cloudflared

With Cloudflare Zero Trust, users can connect to non-HTTP applications via a public hostname without installing the Cloudflare One Client. This method requires you to onboard a domain to Cloudflare and install cloudflared on both the server and the user's device.

Users log in to the application by running a cloudflared access command in their terminal. cloudflared will launch a browser window and prompt the user to authenticate with your identity provider.

:::note

Automated services should only authenticate with cloudflared if they cannot use a service token. Cloudflared authentication relies on WebSockets to establish a connection. WebSockets have a known limitation where persistent connections may close unexpectedly. We recommend either a Service Auth policy or using Warp to Tunnel routing in these instances. :::

For examples of how to connect to Access applications with client-side cloudflared, refer to these tutorials: