Go to file
chungthuang 8e69f41833 TUN-7934: Update quic-go to a version that queues datagrams for better throughput and drops large datagram
Remove TestUnregisterUdpSession
2024-01-03 13:01:01 +00:00
.github TUN-8052: Update go to 1.21.5 2023-12-15 12:17:21 +00:00
.mac_resources
.teamcity TUN-8072: Need to set GOCACHE in mac go installation script 2023-12-20 05:28:13 +00:00
carrier
cfapi TUN-7787: cloudflared only list ip routes targeted for cfd_tunnel 2023-09-20 16:05:50 +00:00
cfio
cmd/cloudflared configuration.go: fix developerPortal link (#960) 2023-12-14 16:34:00 +00:00
component-tests TUN-8066: Define scripts to build on Windows agents 2023-12-15 23:21:42 +00:00
config TUN-7776: Remove warp-routing flag from cloudflared 2023-09-18 10:02:56 +01:00
connection TUN-8006: Update quic-go to latest upstream 2023-12-04 17:09:40 +00:00
credentials
datagramsession
edgediscovery TUN-7131: Add cloudflared log event to connection messages and enable streaming logs 2023-04-12 14:41:11 -07:00
features TUN-7970: Default to enable post quantum encryption for quic transport 2023-12-07 11:37:46 +00:00
fips
h2mux TUN-7585: Remove h2mux compression 2023-07-18 18:14:19 +00:00
hello
ingress Fix nil pointer dereference segfault when passing "null" config json to cloudflared tunnel ingress validate (#1070) 2023-12-14 16:29:40 +00:00
internal/test
ipaccess TUN-6016: Push local managed tunnels configuration to the edge 2022-05-06 15:43:24 +00:00
logger
management TUN-7586: Upgrade go-jose/go-jose/v3 and core-os/go-oidc/v3 2023-07-17 19:02:03 +00:00
metrics
orchestration TUN-7776: Remove warp-routing flag from cloudflared 2023-09-18 10:02:56 +01:00
overwatch AUTH-2169 make access login page more generic 2020-06-08 11:20:30 -05:00
packet
proxy TUN-7776: Remove warp-routing flag from cloudflared 2023-09-18 10:02:56 +01:00
quic TUN-7934: Update quic-go to a version that queues datagrams for better throughput and drops large datagram 2024-01-03 13:01:01 +00:00
retry TUN-7624: Fix flaky TestBackoffGracePeriod test in cloudflared 2023-07-24 14:39:25 +01:00
signal
socks TUN-7590: Remove usages of ioutil 2023-07-17 19:08:38 +00:00
ssh_server_tests Fix typos 2021-11-12 17:38:06 +02:00
sshgen TUN-7584: Bump go 1.20.6 2023-07-26 13:52:40 -07:00
stream
supervisor TUN-8052: Update go to 1.21.5 2023-12-15 12:17:21 +00:00
tlsconfig TUN-7590: Remove usages of ioutil 2023-07-17 19:08:38 +00:00
token AUTH-5682 Org token flow in Access logins should pass CF_AppSession cookie 2023-12-18 09:42:33 -06:00
tracing TUN-8052: Update go to 1.21.5 2023-12-15 12:17:21 +00:00
tunneldns
tunnelrpc tunnelrpc/pogs: fix dropped test errors (#1106) 2023-12-14 16:29:16 +00:00
tunnelstate
validation TUN-7628: Correct Host parsing for Access 2023-07-25 09:33:11 -07:00
vendor TUN-7934: Update quic-go to a version that queues datagrams for better throughput and drops large datagram 2024-01-03 13:01:01 +00:00
watcher TUN-7584: Bump go 1.20.6 2023-07-26 13:52:40 -07:00
websocket
.docker-images
.dockerignore
.gitignore
CHANGES.md TUN-7776: Remove warp-routing flag from cloudflared 2023-09-18 10:02:56 +01:00
Dockerfile TUN-8052: Update go to 1.21.5 2023-12-15 12:17:21 +00:00
Dockerfile.amd64 TUN-8052: Update go to 1.21.5 2023-12-15 12:17:21 +00:00
Dockerfile.arm64 TUN-8052: Update go to 1.21.5 2023-12-15 12:17:21 +00:00
LICENSE TUN-5851: Update all references to point to Apache License 2.0 2022-03-08 17:35:31 +00:00
Makefile TUN-8052: Update go to 1.21.5 2023-12-15 12:17:21 +00:00
README.md TUN-7864: Document cloudflared versions support 2023-10-06 11:30:59 -07:00
RELEASE_NOTES Release 2023.10.0 2023-10-31 09:11:23 +00:00
build-packages-fips.sh
build-packages.sh
catalog-info.yaml TUN-7599: Onboard cloudflared to Software Dashboard 2023-07-19 13:30:35 +00:00
cfsetup.yaml TUN-8052: Update go to 1.21.5 2023-12-15 12:17:21 +00:00
check-fips.sh
cloudflared.wxs Remove extraneous `period` from Path Environment Variable (#1009) 2023-12-14 16:32:48 +00:00
cloudflared_man_template
dev.Dockerfile TUN-8052: Update go to 1.21.5 2023-12-15 12:17:21 +00:00
fmt-check.sh
github_message.py
github_release.py
go.mod TUN-7934: Update quic-go to a version that queues datagrams for better throughput and drops large datagram 2024-01-03 13:01:01 +00:00
go.sum TUN-7934: Update quic-go to a version that queues datagrams for better throughput and drops large datagram 2024-01-03 13:01:01 +00:00
postinst.sh
postrm.sh
release_pkgs.py TUN-7718: Update R2 Token to no longer encode secret 2023-08-25 13:01:28 +00:00
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 that are within one year of the most recent release. Breaking changes unrelated to feature availability may be introduced that will impact versions released more than one year ago. You can read more about upgrading cloudflared in our developer documentation.

For example, as of January 2023 Cloudflare will support cloudflared version 2023.1.1 to cloudflared 2022.1.1.