Go to file
regnaio ded9d02c2d Merge branch 'master' into regnaio/location
git merge master
2022-03-31 06:32:56 -04:00
.github Update issue templates 2022-02-14 14:02:45 -06:00
.mac_resources
.teamcity TUN-5895 run brew bump-formula-pr on release 2022-03-22 19:45:25 +00:00
carrier carrier: fix dropped errors 2022-03-30 07:09:09 -07:00
certutil
cfapi TUN-5915: New cloudflared command to allow to retrieve the token credentials for a Tunnel 2022-03-23 10:35:16 +00:00
cmd/cloudflared TUN-5960: Do not log the tunnel token or json credentials 2022-03-28 10:54:39 +01:00
component-tests TUN-5954: Start cloudflared service in Linux too similarly to other OSs 2022-03-25 13:57:47 +00:00
config Location first attempt 2022-03-29 06:31:52 -04:00
connection TUN-5915: New cloudflared command to allow to retrieve the token credentials for a Tunnel 2022-03-23 10:35:16 +00:00
datagramsession TUN-5956: Add timeout to session manager APIs 2022-03-28 13:39:03 +00:00
edgediscovery
fips
h2mux TUN-5551: Reintroduce FIPS compliance for linux amd64 now as separate binaries 2021-12-20 21:50:42 +00:00
hello
ingress debug logging 2022-03-29 14:02:56 -04:00
ipaccess
logger
metrics TUN-5869: Add configuration endpoint in metrics server 2022-03-22 08:11:59 -07:00
orchestration TUN-5842: Fix flaky TestConcurrentUpdateAndRead by making sure resources are released 2022-03-30 11:09:27 +01:00
overwatch
proxy debug logging 2022-03-29 14:02:56 -04:00
quic TUN-5697: Listen for UpdateConfiguration RPC in quic transport 2022-02-18 09:12:39 +00:00
retry
signal
socks
ssh_server_tests
sshgen CC-796: Remove dependency on unsupported version of go-oidc 2022-03-18 18:16:10 +00:00
supervisor TUN-5833: Create constant for allow-remote-config 2022-03-10 10:48:03 +00:00
tlsconfig TUN-5612: Make tls min/max version public visible 2022-01-03 18:13:57 +00:00
token CC-796: Remove dependency on unsupported version of go-oidc 2022-03-18 18:16:10 +00:00
tunneldns TUN-5675: Remove github.com/dgrijalva/jwt-go dependency by upgrading coredns version 2022-01-25 15:24:13 +00:00
tunnelrpc TUN-5697: Listen for UpdateConfiguration RPC in quic transport 2022-02-18 09:12:39 +00:00
tunnelstate
validation
vendor CC-796: Remove dependency on unsupported version of go-oidc 2022-03-18 18:16:10 +00:00
watcher TUN-5551: Reintroduce FIPS compliance for linux amd64 now as separate binaries 2021-12-20 21:50:42 +00:00
websocket TUN-5836: Avoid websocket#Stream function from crashing cloudflared with unexpected memory access 2022-03-04 18:42:41 +00:00
.docker-images
.dockerignore
.gitignore TUN-5853 Add "install" make target and build package manager info into executable 2022-03-08 15:31:14 -06:00
CHANGES.md TUN-5960: Do not log the tunnel token or json credentials 2022-03-28 10:54:39 +01:00
Dockerfile expose metrics server in Dockerfile 2022-03-30 06:21:05 -04:00
LICENSE TUN-5851: Update all references to point to Apache License 2.0 2022-03-08 17:35:31 +00:00
Makefile TUN-5853 Add "install" make target and build package manager info into executable 2022-03-08 15:31:14 -06:00
README.md
RELEASE_NOTES Release 2022.3.4 2022-03-25 16:32:15 +00:00
build-packages-fips.sh TUN-5551: Reintroduce FIPS compliance for linux amd64 now as separate binaries 2021-12-20 21:50:42 +00:00
build-packages.sh TUN-5551: Reintroduce FIPS compliance for linux amd64 now as separate binaries 2021-12-20 21:50:42 +00:00
cfsetup.yaml TUN-5958: Fix release to homebrew core 2022-03-28 07:59:49 +00:00
check-fips.sh TUN-5551: Reintroduce FIPS compliance for linux amd64 now as separate binaries 2021-12-20 21:50:42 +00:00
cloudflared.wxs
cloudflared_man_template
dev.Dockerfile TUN-5631: Build everything with go 1.17.5 2022-01-10 12:34:04 +00:00
fmt-check.sh
github_message.py
github_release.py
go.mod TUN-5959: tidy go.mod 2022-03-25 12:18:49 -07:00
go.sum TUN-5959: tidy go.mod 2022-03-25 12:18:49 -07:00
jet.yaml
postinst.sh
postrm.sh
wix.json

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