cloudflared
Cloudflare Tunnel client for secure connections
TLDR
Login to Cloudflare
SYNOPSIS
cloudflared tunnel command [options]
cloudflared access command [options]
DESCRIPTION
cloudflared is the Cloudflare Tunnel client that creates secure, outbound-only connections from your origin server to Cloudflare's global network. This eliminates the need to expose public IP addresses or open inbound firewall ports, as all traffic is routed through Cloudflare's edge.
The tool supports tunneling HTTP, SSH, RDP, and arbitrary TCP protocols. Named tunnels provide persistent configurations, while quick tunnels offer temporary public URLs for development and testing. Tunnels can be configured to route traffic based on hostname and path rules defined in a YAML configuration file.
cloudflared also provides Cloudflare Access integration for authenticating users before they reach your origin, and can run as a system service for production deployments.
PARAMETERS
--url url
Local service URL--hostname host
Public hostname--config file
Configuration file path--credentials-file file
Tunnel credentials--origincert file
Origin certificate path--no-autoupdate
Disable auto-updates
CONFIGURATION
~/.cloudflared/config.yml
Main tunnel configuration defining tunnel ID, credentials path, and ingress routing rules.~/.cloudflared/cert.pem
Origin certificate obtained during `cloudflared tunnel login`, used to authenticate tunnel creation.
TUNNEL COMMANDS
login
Authenticate with Cloudflarecreate name
Create new tunnelrun name
Start tunnellist
List all tunnelsdelete name
Remove tunnelroute dns/ip
Configure routinginfo name
Show tunnel detailscleanup
Delete stale connections
CAVEATS
Tunnel credentials are per-tunnel. Quick tunnels are temporary. Free tier available. Previously called Argo Tunnel.
