# Cloudflare Tunnel

Cloudflare Tunnel is a self-hosted network services app. Cloudflared Docker image with a built-in healthcheck, identical to the official cloudflare/cloudflared image except it bakes in a HEALTHCHECK instruction to work around the distroless base having no shell. It is open source and self-hosted, installable on Umbrel, Kubernetes (Helm) and Unraid.

Canonical page: https://ourlocalhost.com/app/2716/cloudflare-tunnel

## Description

Cloudflared Docker image with a built-in healthcheck, identical to the official cloudflare/cloudflared image except it bakes in a HEALTHCHECK instruction to work around the distroless base having no shell. Use it when you need container-level health monitoring for your Cloudflare Tunnel without the official image's --health-cmd limitations.

## Platform availability

Available on 5 of 10 platforms: Unraid, Umbrel, Helm, Mac, Windows.

## Desktop and other devices

Mac, Windows.

## Health score

80/100 (Excellent), based on 4 of 4 factors.
- Maintained: 100 (last commit 17 days ago)
- Popular: 84 (16,438 GitHub stars)
- Easy to install: 75 (5 install platforms, install notes, Docker image)
- Light to run: 30 (4 GB minimum RAM)

## Links

- Umbrel: https://apps.umbrel.com/app/cloudflared
- Kubernetes (Helm): https://artifacthub.io/packages/helm/cloudflare-tunnel/cloudflare-tunnel
- GitHub: https://github.com/cloudflare/cloudflared
- Unraid: https://ca.unraid.net/apps/cloudflare-tunnel-0g72jml1bylz1d?q=cloudflare-tunnel
- Documentation: https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel
- Official website: https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/
- desktop: https://github.com/cloudflare/cloudflared/releases/latest

## Common questions

### How do I set the Cloudflare Tunnel token for a Docker container?

Create the tunnel in the Cloudflare Zero Trust dashboard, choose Cloudflared as the connector and Docker as the environment, then paste the copied token into Post Arguments in place of the placeholder.

### How does Cloudflare Tunnel avoid opening ports on my server?

The cloudflared daemon proxies traffic from Cloudflare to your origin. This lets your origin stay closed as possible without needing firewall holes.

### How can I use Cloudflare Tunnel for SSH or other TCP services?

Use the cloudflared access commands for Layer 4 TCP traffic such as SSH or RDP. You can also use the WARP client to reach private origins behind tunnels without running cloudflared access on the client.

### Why do I see an email prompt when connecting through a tunnel?

An email prompt is usually related to client authorisation when connecting through tunnels.

### Can Cloudflare inspect traffic that passes through my tunnel?

Community discussions raise privacy concerns that Cloudflare can decrypt and see all data passing through its tunnel or proxy service.

## Alternatives

- Expose CLI: An open-source, single-binary CLI tool to expose local ports to public URLs via LocalTunnel, Cloudflare, or a self-hosted server with zero…
- Fossorial Pangolin: Open-source identity-based remote access platform using WireGuard, offering unified management, tunneled connections, granular access contr…
- Seawise: Seawise is a Docker client that creates secure outbound connections to share self-hosted apps, such as Jellyfin, Plex, Immich, and Home Ass…
- ngrok: ngrok creates secure tunnels from the internet to your local network, letting you expose local development servers, APIs, and applications…

---
Source: Our Local Host (https://ourlocalhost.com/app/2716/cloudflare-tunnel), the self-hosted and open-source app directory.
