You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Nuno Diegues 3f4407ce27 Release 2021.10.3 3 days ago
.github/workflows TUN-5012: Use patched go-sumtype 2 months ago
.mac_resources AUTH-2712 mac package build script and better config file handling when started as a service 1 year ago
.teamcity TUN-5164: Update README and clean up references to Argo Tunnel (using Cloudflare Tunnel instead) 3 weeks ago
carrier TUN-4168: Transparently proxy websocket connections using stdlib HTTP client instead of gorilla/websocket; move websocket client code into carrier package since it's only used by access subcommands now (#345). 6 months ago
certutil TUN-2943: Copy certutil from edge into cloudflared 1 year ago
cmd/cloudflared TUN-5255: Fix potential panic if Cloudflare API fails to respond to GetTunnel(id) during delete command 3 days ago
component-tests TUN-5000: De-flake logging to dir component test in Windows by increasing to buffer to cope with more logging 2 months ago
config TUN-4359: Warn about unused keys in 'tunnel ingress validate' 5 months ago
connection TUN-5138: Switch to QUIC on auto protocol based on threshold 3 days ago
edgediscovery TUN-5138: Switch to QUIC on auto protocol based on threshold 3 days ago
fips TUN-3905: Cannot run go mod vendor in cloudflared due to fips 7 months ago
h2mux TUN-4456: Replaced instances of Tick() with Ticker() in h2mux paths 5 months ago
hello TUN-5164: Update README and clean up references to Argo Tunnel (using Cloudflare Tunnel instead) 3 weeks ago
ingress TUN-5141: Make sure websocket pinger returns before streaming returns 3 weeks ago
ipaccess TUN-4017: Add support for using cloudflared as a full socks proxy. 7 months ago
logger TUN-4067: Reformat code for consistent import order, grouping, and fix formatting. Added goimports target to the Makefile to make this easier in the future. 7 months ago
metrics TUN-4821: Make quick tunnels the default in cloudflared 2 months ago
origin TUN-5138: Switch to QUIC on auto protocol based on threshold 3 days ago
overwatch AUTH-2169 make access login page more generic 1 year ago
quic TUN-4613: Add a no-op protocol version slot 2 months ago
retry TUN-3863: Consolidate header handling logic in the connection package; move headers definitions from h2mux to packages that manage them; cleanup header conversions 7 months ago
signal TUN-1562: Refactor connectedSignal to be safe to close multiple times 3 years ago
socks TUN-4067: Reformat code for consistent import order, grouping, and fix formatting. Added goimports target to the Makefile to make this easier in the future. 7 months ago
ssh_server_tests TUN-4795: Remove Equinox releases 2 months ago
sshgen Setup a Github action for checking the cloudflared build 6 months ago
teamnet TUN-3809: Allow routes ip show to output as JSON or YAML 8 months ago
tlsconfig TUN-3983: Renew CA certs in cloudflared 8 months ago
token AUTH-3475: Updated GetAppInfo error message 4 months ago
tunneldns TUN-4063: Cleanup dependencies between packages. 7 months ago
tunnelrpc TUN-4067: Reformat code for consistent import order, grouping, and fix formatting. Added goimports target to the Makefile to make this easier in the future. 7 months ago
tunnelstore TUN-4847: Allow to list tunnels by prefix name or exclusion prefix name 3 months ago
validation TUN-5164: Update README and clean up references to Argo Tunnel (using Cloudflare Tunnel instead) 3 weeks ago
vendor TUN-5129: Use go 1.17 and copy .git folder to docker build to compute version 4 weeks ago
watcher Setup a Github action for checking the cloudflared build 6 months ago
websocket TUN-5141: Make sure websocket pinger returns before streaming returns 3 weeks ago
.docker-images AUTH-2871: fix rpm builds 1 year ago
.dockerignore TUN-5129: Use go 1.17 and copy .git folder to docker build to compute version 4 weeks ago
.gitignore TUN-4761: Added a build-all-packages target to cfsetup 3 months ago
CHANGES.md TUN-5169: Release 2021.9.2 CHANGES.md 3 weeks ago
Dockerfile TUN-5129: Use go 1.17 and copy .git folder to docker build to compute version 4 weeks ago
LICENSE TUN-595: Add License/Readme files to cloudflared 4 years ago
Makefile TUN-5164: Update README and clean up references to Argo Tunnel (using Cloudflare Tunnel instead) 3 weeks ago
README.md TUN-5164: Update README and clean up references to Argo Tunnel (using Cloudflare Tunnel instead) 3 weeks ago
RELEASE_NOTES Release 2021.10.3 3 days ago
build-packages.sh TUN-4875: Added amd64-linux builds back to releases 2 months ago
cfsetup.yaml TUN-5257: Fix more cfsetup targets that were broken by recent package changes 3 days ago
cloudflared.wxs TUN-4911: Append Environment variable to Path instead of overwriting it 2 months ago
cloudflared_man_template AUTH-2644: Change install location and add man page 1 year ago
dev.Dockerfile TUN-4357: Bump Go to 1.16 5 months ago
fmt-check.sh TUN-4067: Reformat code for consistent import order, grouping, and fix formatting. Added goimports target to the Makefile to make this easier in the future. 7 months ago
github_message.py AUTH-3148 fixed cloudflared copy and match all the files in the checksum upload 1 year ago
github_release.py TUN-4772: Release built executables with packages 3 months ago
go.mod TUN-5129: Use go 1.17 and copy .git folder to docker build to compute version 4 weeks ago
go.sum TUN-5129: Use go 1.17 and copy .git folder to docker build to compute version 4 weeks ago
jet.yaml TUN-5164: Update README and clean up references to Argo Tunnel (using Cloudflare Tunnel instead) 3 weeks ago
postinst.sh AUTH-2858: Set file to disable autoupdate 1 year ago
postrm.sh AUTH-2858: Set file to disable autoupdate 1 year ago
wix.json AUTH-2712 mac package build script and better config file handling when started as a service 1 year ago

README.md

Cloudflare Tunnel client

Contains the command-line client for Cloudflare Tunnel, a tunneling daemon that proxies traffic from the Cloudflare network to your origins. This daemon sits between Cloudflare network and your origin (e.g. a webserver). Cloudflare attracts client requests and sends them to you via this daemon, without requiring you to poke holes on your firewall --- your origin can remain as closed as possible. Extensive documentation can be found in the Cloudflare Tunnel section of the Cloudflare Docs. All usages related with proxying to your origins are available under cloudflared tunnel help.

You can also use cloudflared to access Tunnel origins (that are protected with cloudflared tunnel) for TCP traffic at Layer 4 (i.e., not HTTP/websocket), which is relevant for use cases such as SSH, RDP, etc. Such usages are available under cloudflared access help.

You can instead use WARP client to access private origins behind Tunnels for Layer 4 traffic without requiring cloudflared access commands on the client side.

Before you get started

Before you use Cloudflare Tunnel, you'll need to complete a few steps in the Cloudflare dashboard: you need to add a website to your Cloudflare account. Note that today it is possible to use Tunnel without a website (e.g. for private routing), but for legacy reasons this requirement is still necessary:

  1. Add a website to Cloudflare
  2. Change your domain nameservers to Cloudflare

Installing cloudflared

Downloads are available as standalone binaries, a Docker image, and Debian, RPM, and Homebrew packages. You can also find releases here on the cloudflared GitHub repository.

User documentation for Cloudflare Tunnel can be found at https://developers.cloudflare.com/cloudflare-one/connections/connect-apps

Creating Tunnels and routing traffic

Once installed, you can authenticate cloudflared into your Cloudflare account and begin creating Tunnels to serve traffic to your origins.

TryCloudflare

Want to test Cloudflare Tunnel before adding a website to Cloudflare? You can do so with TryCloudflare using the documentation available here.

Deprecated versions

Cloudflare currently supports versions of cloudflared 2020.5.1 and later. Breaking changes unrelated to feature availability may be introduced that will impact versions released prior to 2020.5.1. You can read more about upgrading cloudflared in our developer documentation.

Version(s) Deprecation status
2020.5.1 and later Supported
Versions prior to 2020.5.1 No longer supported