No Description

Luis Neto aab5364252 TUN-8731: Implement diag/system endpoint 1 week ago
.github 659da3ebba Update semgrep.yml 2 months ago
.mac_resources 0c65daaa7d AUTH-2712 mac package build script and better config file handling when started as a service 4 years ago
.teamcity d29017fac9 TUN-8553: Bump go to 1.22.5 and go-boring 1.22.5-1 4 weeks ago
carrier 887e486a63 TUN-7057: Remove dependency github.com/gorilla/mux 1 year ago
cfapi 86476e6248 TUN-8281: Run cloudflared query list tunnels/routes endpoint in a paginated way 8 months ago
cfio d1a4710aa2 TUN-6035: Reduce buffer size when proxying data 2 years ago
cmd aab5364252 TUN-8731: Implement diag/system endpoint 1 week ago
component-tests 599ba52750 TUN-8708: Bump python min version to 3.10 1 month ago
config b5be8a6fa4 feat: auto tls sni 8 months ago
connection 1f3e3045ad TUN-8701: Add metrics and adjust logs for datagram v3 3 weeks ago
credentials b89c092c1b TUN-7134: Acquire token for cloudflared tail 1 year ago
datagramsession 0eddb8a615 TUN-8692: remove dashes from session id 1 month ago
diagnostic aab5364252 TUN-8731: Implement diag/system endpoint 1 week ago
edgediscovery a3ee49d8a9 chore: Remove h2mux code 1 month ago
features d7d81384c2 TUN-8646: Add datagram v3 support feature flag 1 month ago
fips 11cbff4ff7 RTG-1339 Support post-quantum hybrid key exchange 2 years ago
hello b500e556bf TUN-7590: Remove usages of ioutil 1 year ago
ingress ab3dc5f8fa TUN-8701: Simplify flow registration logs for datagram v3 2 weeks ago
internal 93acdaface TUN-7125: Add management streaming logs WebSocket protocol 1 year ago
ipaccess 99d4e48656 TUN-6016: Push local managed tunnels configuration to the edge 2 years ago
logger 2b4815a9f5 TUN-7543: Add --debug-stream flag to cloudflared access ssh 1 year ago
management 30c435fee6 remove code that will not be executed 3 months ago
metrics aab5364252 TUN-8731: Implement diag/system endpoint 1 week ago
orchestration 43446bc692 TUN-8423: Deprecate older legacy tunnel capnp interfaces 6 months ago
overwatch 2f70b05c64 AUTH-2169 make access login page more generic 4 years ago
packet 53c523444e add: new go-fuzz targets 2 weeks ago
proxy 0eddb8a615 TUN-8692: remove dashes from session id 1 month ago
quic d779394748 TUN-8748: Migrated datagram V3 flows to use migrated context 1 week ago
retry 8184bc457d TUN-8427: Fix BackoffHandler's internally shared clock structure 6 months ago
signal 073c5bfdaa TUN-1562: Refactor connectedSignal to be safe to close multiple times 5 years ago
socks b500e556bf TUN-7590: Remove usages of ioutil 1 year ago
sshgen 687682120c TUN-8333: Bump go-jose dependency to v4 7 months ago
stream d1e338ee48 TUN-7545: Add support for full bidirectionally streaming with close signal propagation 1 year ago
supervisor 1f3e3045ad TUN-8701: Add metrics and adjust logs for datagram v3 3 weeks ago
tlsconfig b500e556bf TUN-7590: Remove usages of ioutil 1 year ago
token 8184bc457d TUN-8427: Fix BackoffHandler's internally shared clock structure 6 months ago
tracing 53c523444e add: new go-fuzz targets 2 weeks ago
tunneldns b500e556bf TUN-7590: Remove usages of ioutil 1 year ago
tunnelrpc e251a21810 TUN-8621: Prevent QUIC connection from closing before grace period after unregistering 1 month ago
tunnelstate e2c2b012f1 TUN-8737: update metrics server port selection 1 week ago
validation 53c523444e add: new go-fuzz targets 2 weeks ago
vendor 92e0f5fcf9 TUN-8688: Correct UDP bind for IPv6 edge connectivity on macOS 1 month ago
watcher 65247b6f0f TUN-7584: Bump go 1.20.6 1 year ago
websocket 887e486a63 TUN-7057: Remove dependency github.com/gorilla/mux 1 year ago
.docker-images e89bceca5e TUN-6825: Fix cloudflared:version images require arch hyphens 2 years ago
.dockerignore d54c8cc745 TUN-5129: Use go 1.17 and copy .git folder to docker build to compute version 3 years ago
.gitignore 599ba52750 TUN-8708: Bump python min version to 3.10 1 month ago
CHANGES.md fe7ff6cbfe TUN-8621: Fix cloudflared version in change notes to account for release date 1 month ago
Dockerfile e2c2b012f1 TUN-8737: update metrics server port selection 1 week ago
Dockerfile.amd64 d29017fac9 TUN-8553: Bump go to 1.22.5 and go-boring 1.22.5-1 4 weeks ago
Dockerfile.arm64 d29017fac9 TUN-8553: Bump go to 1.22.5 and go-boring 1.22.5-1 4 weeks ago
LICENSE c54e8cd8e6 TUN-5851: Update all references to point to Apache License 2.0 2 years ago
Makefile e2c2b012f1 TUN-8737: update metrics server port selection 1 week ago
README.md aa7abe7581 Fixed 404 in README.md to TryCloudflare 3 weeks ago
RELEASE_NOTES c59d56c655 Release 2024.11.1 1 week ago
build-packages-fips.sh bd9e020df9 TUN-8583: change final directory of artifacts 3 months ago
build-packages.sh bd9e020df9 TUN-8583: change final directory of artifacts 3 months ago
catalog-info.yaml ac82c8b08b TUN-7599: Onboard cloudflared to Software Dashboard 1 year ago
cfsetup.yaml d29017fac9 TUN-8553: Bump go to 1.22.5 and go-boring 1.22.5-1 4 weeks ago
check-fips.sh 70e675f42c TUN-5551: Reintroduce FIPS compliance for linux amd64 now as separate binaries 2 years ago
cloudflared.wxs 9e1f4c2bca Remove extraneous `period` from Path Environment Variable (#1009) 11 months ago
cloudflared_man_template 1ed9e0fceb AUTH-2644: Change install location and add man page 4 years ago
dev.Dockerfile d29017fac9 TUN-8553: Bump go to 1.22.5 and go-boring 1.22.5-1 4 weeks ago
fmt-check.sh 515ad7cbee TUN-6917: Bump go to 1.19.3 2 years ago
github_message.py 4642316167 TUN-6823: Update github release message to pull from KV 2 years ago
github_release.py eabc0aaaa8 TUN-8694: Rework release script 1 month ago
go.mod d608a64cc5 TUN-8685: Bump coredns dependency 1 month ago
go.sum d608a64cc5 TUN-8685: Bump coredns dependency 1 month ago
postinst.sh 28d556b8d4 AUTH-2858: Set file to disable autoupdate 4 years ago
postrm.sh 47ad3238dd TUN-8290: Remove `|| true` from postrm.sh 8 months ago
release_pkgs.py 5d8f60873d TUN-7718: Update R2 Token to no longer encode secret 1 year ago
wix.json 0c65daaa7d AUTH-2712 mac package build script and better config file handling when started as a service 4 years 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 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.