Go to file
Devin Carr 075ac1acf1 Release 2022.8.4 2022-08-31 15:19:40 -07:00
.github TUN-6717: Update Github action to run with Go 1.19 2022-08-31 12:22:57 +01:00
.mac_resources
.teamcity TUN-6197: Publish to brew core should not try to open the browser 2022-05-11 15:26:05 +01:00
carrier carrier: fix dropped errors 2022-03-30 07:09:09 -07:00
certutil
cfapi
cfio
cmd/cloudflared TUN-6720: Remove forcibly closing connection during reconnect signal 2022-08-31 21:50:02 +00:00
component-tests TUN-6720: Remove forcibly closing connection during reconnect signal 2022-08-31 21:50:02 +00:00
config Merge pull request #656 from nikr-canva/http2-origins 2022-06-16 12:23:07 -05:00
connection TUN-6704: Honor protocol flag when edge discovery is unreachable 2022-08-26 15:31:19 +00:00
datagramsession TUN-6691: Properly error check for net.ErrClosed 2022-08-25 09:44:32 -07:00
edgediscovery TUN-6388: Fix first tunnel connection not retrying 2022-06-23 16:55:03 +00:00
fips TUN-3905: Cannot run go mod vendor in cloudflared due to fips 2021-03-09 17:31:59 +04:00
h2mux
hello
ingress TUN-6586: Change ICMP proxy to only build for Darwin and use echo ID to track flows 2022-08-27 22:37:08 +01:00
ipaccess
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. 2021-03-24 10:53:29 -05:00
metrics TUN-6617: Dont fallback to http2 if QUIC conn was successful. 2022-08-12 08:40:03 +00:00
orchestration TUN-6576: Consume cf-trace-id from incoming TCP requests to create root span 2022-08-02 14:56:31 -07:00
overwatch
packet TUN-6586: Change ICMP proxy to only build for Darwin and use echo ID to track flows 2022-08-27 22:37:08 +01:00
proxy TUN-6676: Add suport for trailers in http2 connections 2022-08-24 15:16:30 +00:00
quic TUN-6699: Add metric for packet too big dropped 2022-08-26 16:02:43 +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-6720: Remove forcibly closing connection during reconnect signal 2022-08-31 21:50:02 +00:00
tlsconfig
token TUN-6459: Add cloudflared user-agent to access calls 2022-06-24 11:51:53 -07:00
tracing TUN-6576: Consume cf-trace-id from incoming TCP requests to create root span 2022-08-02 14:56:31 -07:00
tunneldns
tunnelrpc TUN-6016: Push local managed tunnels configuration to the edge 2022-05-06 15:43:24 +00:00
tunnelstate TUN-6617: Dont fallback to http2 if QUIC conn was successful. 2022-08-12 08:40:03 +00:00
validation
vendor TUN-6666: Define packet package 2022-08-24 11:36:57 +01:00
watcher
websocket TUN-6035: Reduce buffer size when proxying data 2022-04-11 14:41:33 +00:00
.docker-images TUN-6652: Publish dockerfile for both amd64 and arm64 2022-08-12 16:50:57 +00:00
.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-6617: Updated CHANGES.md for protocol stickiness 2022-08-15 17:41:06 +01:00
Dockerfile TUN-6652: Publish dockerfile for both amd64 and arm64 2022-08-12 16:50:57 +00:00
Dockerfile.amd64 TUN-6652: Publish dockerfile for both amd64 and arm64 2022-08-12 16:50:57 +00:00
Dockerfile.arm64 TUN-6656: Docker for arm64 should not be deployed in an amd64 container 2022-08-16 13:29:40 +00:00
LICENSE
Makefile TUN-6362: Add armhf support to cloudflare packaging 2022-06-20 12:05:03 +01:00
README.md Warp Private Network link updated 2022-05-10 19:40:31 +05:30
RELEASE_NOTES Release 2022.8.4 2022-08-31 15:19:40 -07:00
build-packages-fips.sh
build-packages.sh TUN-6362: Add armhf support to cloudflare packaging 2022-06-20 12:05:03 +01:00
cfsetup.yaml EDGEPLAT-3918: bump go and go-boring to 1.18.5 2022-08-12 10:46:16 +01:00
check-fips.sh
cloudflared.wxs
cloudflared_man_template AUTH-2644: Change install location and add man page 2020-07-06 19:27:25 +00:00
dev.Dockerfile TUN-6637: Upgrade go version and quic-go 2022-08-08 15:49:10 +01:00
fmt-check.sh
github_message.py AUTH-3148 fixed cloudflared copy and match all the files in the checksum upload 2020-10-06 11:39:40 -05:00
github_release.py
go.mod TUN-6666: Define packet package 2022-08-24 11:36:57 +01:00
go.sum TUN-6666: Define packet package 2022-08-24 11:36:57 +01:00
jet.yaml TUN-5164: Update README and clean up references to Argo Tunnel (using Cloudflare Tunnel instead) 2021-09-29 08:27:47 +00:00
postinst.sh
postrm.sh
release_pkgs.py TUN-6362: Add armhf support to cloudflare packaging 2022-06-20 12:05:03 +01:00
wix.json AUTH-2712 mac package build script and better config file handling when started as a service 2020-06-25 16:44:57 -05:00

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