Introducing our new CEO Don Johnson - Read More

cloudflare/cloudflared

By cloudflare

Updated 8 days ago

Client for Cloudflare Tunnel, a daemon that exposes private services through the Cloudflare edge.

Image
456

50M+

How cloudflared works

https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/

How to run a cloudflared container

docker run cloudflare/cloudflared:latest tunnel --no-autoupdate --hello-world

This hello-world example relies on trycloudflare.com which does not require a Cloudflare account. This is useful to getting started quickly with a single command.

For real usage, get started by creating a free Cloudflare account and heading to https://dash.teams.cloudflare.com/ -> Access -> Tunnels to create your first Tunnel. There, you will get a single line command to start and run your cloudflared docker container authenticating to your Cloudflare account.

You can then use it to expose:

  1. Private HTTP-based services exposed on a public DNS hostname, optionally locked down by Cloudflare Access (see https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/ and https://developers.cloudflare.com/cloudflare-one/applications/configure-apps/self-hosted-apps/ )
  2. Private networks accessed by TCP/UDP IP/port by WARP enrolled users, with a Zero Trust approach, to squash away your legacy VPN (see https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/private-net/ )

Docker Pull Command

docker pull cloudflare/cloudflared