Nav apraksta

Jingqi Huang d969fdec3e SDLC-3762: Remove backstage.io/source-location from catalog-info.yaml 1 nedēļu atpakaļ
.github 659da3ebba Update semgrep.yml 4 mēneši atpakaļ
.mac_resources 0c65daaa7d AUTH-2712 mac package build script and better config file handling when started as a service 4 gadi atpakaļ
.teamcity 45f67c23fd TUN-8858: update go to 1.22.10 and include quic-go FIPS changes 3 nedēļas atpakaļ
carrier 887e486a63 TUN-7057: Remove dependency github.com/gorilla/mux 2 gadi atpakaļ
cfapi 86476e6248 TUN-8281: Run cloudflared query list tunnels/routes endpoint in a paginated way 11 mēneši atpakaļ
cfio d1a4710aa2 TUN-6035: Reduce buffer size when proxying data 2 gadi atpakaļ
cmd 7336a1a4d6 TUN-8914: Create a flags module to group all cloudflared cli flags 2 nedēļas atpakaļ
component-tests 9695829e5b TUN-8857: remove restriction for using FIPS and PQ 3 nedēļas atpakaļ
config 8c2eda16c1 TUN-8861: Add configuration for active sessions limiter 1 mēnesi atpakaļ
connection bfdb0c76dc TUN-8855: fix lint issues 3 nedēļas atpakaļ
credentials 7336a1a4d6 TUN-8914: Create a flags module to group all cloudflared cli flags 2 nedēļas atpakaļ
datagramsession 0eddb8a615 TUN-8692: remove dashes from session id 3 mēneši atpakaļ
diagnostic 7336a1a4d6 TUN-8914: Create a flags module to group all cloudflared cli flags 2 nedēļas atpakaļ
edgediscovery a3ee49d8a9 chore: Remove h2mux code 4 mēneši atpakaļ
features bfdb0c76dc TUN-8855: fix lint issues 3 nedēļas atpakaļ
fips 31a870b291 TUN-8855: Update PQ curve preferences 3 nedēļas atpakaļ
flow 4eb0f8ce5f TUN-8861: Rename Session Limiter to Flow Limiter 1 mēnesi atpakaļ
hello b500e556bf TUN-7590: Remove usages of ioutil 1 gadu atpakaļ
ingress 8c2eda16c1 TUN-8861: Add configuration for active sessions limiter 1 mēnesi atpakaļ
internal 93acdaface TUN-7125: Add management streaming logs WebSocket protocol 1 gadu atpakaļ
ipaccess 99d4e48656 TUN-6016: Push local managed tunnels configuration to the edge 2 gadi atpakaļ
logger 7336a1a4d6 TUN-8914: Create a flags module to group all cloudflared cli flags 2 nedēļas atpakaļ
management 30c435fee6 remove code that will not be executed 6 mēneši atpakaļ
metrics 02e7ffd5b7 TUN-8792: Make diag/system endpoint always return a JSON 2 mēneši atpakaļ
mocks 4eb0f8ce5f TUN-8861: Rename Session Limiter to Flow Limiter 1 mēnesi atpakaļ
orchestration 7336a1a4d6 TUN-8914: Create a flags module to group all cloudflared cli flags 2 nedēļas atpakaļ
overwatch 2f70b05c64 AUTH-2169 make access login page more generic 4 gadi atpakaļ
packet 9da15b5d96 TUN-8640: Refactor ICMPRouter to support new ICMPResponders 2 mēneši atpakaļ
proxy 4eb0f8ce5f TUN-8861: Rename Session Limiter to Flow Limiter 1 mēnesi atpakaļ
quic 4eb0f8ce5f TUN-8861: Rename Session Limiter to Flow Limiter 1 mēnesi atpakaļ
retry 8184bc457d TUN-8427: Fix BackoffHandler's internally shared clock structure 9 mēneši atpakaļ
signal 073c5bfdaa TUN-1562: Refactor connectedSignal to be safe to close multiple times 6 gadi atpakaļ
socks b500e556bf TUN-7590: Remove usages of ioutil 1 gadu atpakaļ
sshgen 687682120c TUN-8333: Bump go-jose dependency to v4 10 mēneši atpakaļ
stream d1e338ee48 TUN-7545: Add support for full bidirectionally streaming with close signal propagation 1 gadu atpakaļ
supervisor 90176a79b4 TUN-8894: report FIPS+PQ error to Sentry when dialling to the edge 3 nedēļas atpakaļ
tlsconfig b500e556bf TUN-7590: Remove usages of ioutil 1 gadu atpakaļ
token 18eecaf151 AUTH-6633 Fix cloudflared access login + warp as auth 1 mēnesi atpakaļ
tracing 53c523444e add: new go-fuzz targets 3 mēneši atpakaļ
tunneldns b500e556bf TUN-7590: Remove usages of ioutil 1 gadu atpakaļ
tunnelrpc 0f1bfe99ce TUN-8904: Rename Connect Response Flow Rate Limited metadata 1 mēnesi atpakaļ
tunnelstate 4b0b6dc8c6 TUN-8728: implement diag/tunnel endpoint 2 mēneši atpakaļ
validation 53c523444e add: new go-fuzz targets 3 mēneši atpakaļ
vendor c19f919428 Bump x/crypto to 0.31.0 2 nedēļas atpakaļ
watcher 65247b6f0f TUN-7584: Bump go 1.20.6 1 gadu atpakaļ
websocket 887e486a63 TUN-7057: Remove dependency github.com/gorilla/mux 2 gadi atpakaļ
.docker-images e89bceca5e TUN-6825: Fix cloudflared:version images require arch hyphens 2 gadi atpakaļ
.dockerignore d54c8cc745 TUN-5129: Use go 1.17 and copy .git folder to docker build to compute version 3 gadi atpakaļ
.gitignore 599ba52750 TUN-8708: Bump python min version to 3.10 3 mēneši atpakaļ
.golangci.yaml a1963aed80 TUN-8866: Add linter to cloudflared repository 1 mēnesi atpakaļ
CHANGES.md 2feccd772c Release 2025.1.1 3 nedēļas atpakaļ
Dockerfile 45f67c23fd TUN-8858: update go to 1.22.10 and include quic-go FIPS changes 3 nedēļas atpakaļ
Dockerfile.amd64 45f67c23fd TUN-8858: update go to 1.22.10 and include quic-go FIPS changes 3 nedēļas atpakaļ
Dockerfile.arm64 45f67c23fd TUN-8858: update go to 1.22.10 and include quic-go FIPS changes 3 nedēļas atpakaļ
LICENSE c54e8cd8e6 TUN-5851: Update all references to point to Apache License 2.0 3 gadi atpakaļ
Makefile 31a870b291 TUN-8855: Update PQ curve preferences 3 nedēļas atpakaļ
README.md bf4954e96a TUN-8861: Add session limiter to UDP session manager 1 mēnesi atpakaļ
RELEASE_NOTES df5dafa6d7 Release 2025.2.0 2 nedēļas atpakaļ
build-packages-fips.sh 45f67c23fd TUN-8858: update go to 1.22.10 and include quic-go FIPS changes 3 nedēļas atpakaļ
build-packages.sh bd9e020df9 TUN-8583: change final directory of artifacts 6 mēneši atpakaļ
catalog-info.yaml d969fdec3e SDLC-3762: Remove backstage.io/source-location from catalog-info.yaml 1 nedēļu atpakaļ
cfsetup.yaml 45f67c23fd TUN-8858: update go to 1.22.10 and include quic-go FIPS changes 3 nedēļas atpakaļ
check-fips.sh 70e675f42c TUN-5551: Reintroduce FIPS compliance for linux amd64 now as separate binaries 3 gadi atpakaļ
cloudflared.wxs 9e1f4c2bca Remove extraneous `period` from Path Environment Variable (#1009) 1 gadu atpakaļ
cloudflared_man_template 1ed9e0fceb AUTH-2644: Change install location and add man page 4 gadi atpakaļ
dev.Dockerfile 45f67c23fd TUN-8858: update go to 1.22.10 and include quic-go FIPS changes 3 nedēļas atpakaļ
fmt-check.sh 515ad7cbee TUN-6917: Bump go to 1.19.3 2 gadi atpakaļ
github_message.py 4642316167 TUN-6823: Update github release message to pull from KV 2 gadi atpakaļ
github_release.py eabc0aaaa8 TUN-8694: Rework release script 4 mēneši atpakaļ
go.mod c19f919428 Bump x/crypto to 0.31.0 2 nedēļas atpakaļ
go.sum c19f919428 Bump x/crypto to 0.31.0 2 nedēļas atpakaļ
postinst.sh 28d556b8d4 AUTH-2858: Set file to disable autoupdate 4 gadi atpakaļ
postrm.sh 47ad3238dd TUN-8290: Remove `|| true` from postrm.sh 11 mēneši atpakaļ
release_pkgs.py 5cfe9bef79 TUN-8842: Add Ubuntu Noble and 'any' debian distributions to release script 1 mēnesi atpakaļ
wix.json 0c65daaa7d AUTH-2712 mac package build script and better config file handling when started as a service 4 gadi atpakaļ

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.

Development

Requirements

Build

To build cloudflared locally run make cloudflared

Test

To locally run the tests run make test

Linting

To format the code and keep a good code quality use make fmt and make lint

Mocks

After changes on interfaces you might need to regenerate the mocks, so run make mock