{"id":13461404,"url":"https://github.com/cloudflare/cloudflared","last_synced_at":"2025-05-12T16:24:12.855Z","repository":{"id":37253134,"uuid":"106867604","full_name":"cloudflare/cloudflared","owner":"cloudflare","description":"Cloudflare Tunnel client (formerly Argo Tunnel)","archived":false,"fork":false,"pushed_at":"2025-05-07T23:22:04.000Z","size":37957,"stargazers_count":10538,"open_issues_count":440,"forks_count":938,"subscribers_count":111,"default_branch":"master","last_synced_at":"2025-05-12T16:23:35.453Z","etag":null,"topics":["argo-tunnel","cloudflare","cloudflare-tunnel","reverse-proxy","zero-trust-network-access"],"latest_commit_sha":null,"homepage":"https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudflare.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-10-13T19:54:47.000Z","updated_at":"2025-05-12T13:51:56.000Z","dependencies_parsed_at":"2023-02-18T06:01:02.386Z","dependency_job_id":"ae6d9929-2f06-424c-b736-d2cd519a95f3","html_url":"https://github.com/cloudflare/cloudflared","commit_stats":{"total_commits":1358,"total_committers":94,"mean_commits":"14.446808510638299","dds":0.8409425625920471,"last_synced_commit":"aec1d8f6535ad30dcaf5c50f774a2760d7524f89"},"previous_names":[],"tags_count":240,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fcloudflared","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fcloudflared/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fcloudflared/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fcloudflared/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudflare","download_url":"https://codeload.github.com/cloudflare/cloudflared/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253774701,"owners_count":21962218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["argo-tunnel","cloudflare","cloudflare-tunnel","reverse-proxy","zero-trust-network-access"],"created_at":"2024-07-31T11:00:38.009Z","updated_at":"2025-05-12T16:24:12.828Z","avatar_url":"https://github.com/cloudflare.png","language":"Go","readme":"# Cloudflare Tunnel client\n\nContains the command-line client for Cloudflare Tunnel, a tunneling daemon that proxies traffic from the Cloudflare network to your origins.\nThis daemon sits between Cloudflare network and your origin (e.g. a webserver). Cloudflare attracts client requests and sends them to you\nvia this daemon, without requiring you to poke holes on your firewall --- your origin can remain as closed as possible.\nExtensive documentation can be found in the [Cloudflare Tunnel section](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps) of the Cloudflare Docs.\nAll usages related with proxying to your origins are available under `cloudflared tunnel help`.\n\nYou can also use `cloudflared` to access Tunnel origins (that are protected with `cloudflared tunnel`) for TCP traffic\nat Layer 4 (i.e., not HTTP/websocket), which is relevant for use cases such as SSH, RDP, etc.\nSuch usages are available under `cloudflared access help`.\n\nYou can instead use [WARP client](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/configuration/private-networks)\nto access private origins behind Tunnels for Layer 4 traffic without requiring `cloudflared access` commands on the client side.\n\n\n## Before you get started\n\nBefore you use Cloudflare Tunnel, you'll need to complete a few steps in the Cloudflare dashboard: you need to add a\nwebsite to your Cloudflare account. Note that today it is possible to use Tunnel without a website (e.g. for private\nrouting), but for legacy reasons this requirement is still necessary:\n1. [Add a website to Cloudflare](https://support.cloudflare.com/hc/en-us/articles/201720164-Creating-a-Cloudflare-account-and-adding-a-website)\n2. [Change your domain nameservers to Cloudflare](https://support.cloudflare.com/hc/en-us/articles/205195708)\n\n\n## Installing `cloudflared`\n\nDownloads are available as standalone binaries, a Docker image, and Debian, RPM, and Homebrew packages. You can also find releases [here](https://github.com/cloudflare/cloudflared/releases) on the `cloudflared` GitHub repository.\n\n* You can [install on macOS](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/installation#macos) via Homebrew or by downloading the [latest Darwin amd64 release](https://github.com/cloudflare/cloudflared/releases)\n* Binaries, Debian, and RPM packages for Linux [can be found here](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/installation#linux)\n* A Docker image of `cloudflared` is [available on DockerHub](https://hub.docker.com/r/cloudflare/cloudflared)\n* You can install on Windows machines with the [steps here](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/installation#windows)\n* To build from source, first you need to download the go toolchain by running `./.teamcity/install-cloudflare-go.sh` and follow the output. Then you can run `make cloudflared`\n\nUser documentation for Cloudflare Tunnel can be found at https://developers.cloudflare.com/cloudflare-one/connections/connect-apps\n\n\n## Creating Tunnels and routing traffic\n\nOnce installed, you can authenticate `cloudflared` into your Cloudflare account and begin creating Tunnels to serve traffic to your origins.\n\n* Create a Tunnel with [these instructions](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/)\n* Route traffic to that Tunnel:\n  * Via public [DNS records in Cloudflare](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/routing-to-tunnel/dns)\n  * Or via a public hostname guided by a [Cloudflare Load Balancer](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/routing-to-tunnel/lb)\n  * Or from [WARP client private traffic](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/private-net/)\n\n\n## TryCloudflare\n\nWant to test Cloudflare Tunnel before adding a website to Cloudflare? You can do so with TryCloudflare using the documentation [available here](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/do-more-with-tunnels/trycloudflare/).\n\n## Deprecated versions\n\nCloudflare 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](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/downloads/#updating-cloudflared).\n\nFor example, as of January 2023 Cloudflare will support cloudflared version 2023.1.1 to cloudflared 2022.1.1.\n\n## Development\n\n### Requirements\n- [GNU Make](https://www.gnu.org/software/make/)\n- [capnp](https://capnproto.org/install.html)\n- [cloudflare go toolchain](https://github.com/cloudflare/go)\n- Optional tools:\n  - [capnpc-go](https://pkg.go.dev/zombiezen.com/go/capnproto2/capnpc-go)\n  - [goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports)\n  - [golangci-lint](https://github.com/golangci/golangci-lint)\n  - [gomocks](https://pkg.go.dev/go.uber.org/mock)\n\n### Build\nTo build cloudflared locally run `make cloudflared`\n\n### Test\nTo locally run the tests run `make test`\n\n### Linting\nTo format the code and keep a good code quality use `make fmt` and `make lint`\n\n### Mocks\nAfter changes on interfaces you might need to regenerate the mocks, so run `make mock`\n","funding_links":[],"categories":["Go","HarmonyOS","\u003ca id=\"1a9934198e37d6d06b881705b863afc8\"\u003e\u003c/a\u003e通信\u0026\u0026代理\u0026\u0026反向代理\u0026\u0026隧道","Networking","\u003cimg src=\"./assets/satellite.svg\" width=\"16\" height=\"16\" style=\"vertical-align: middle;\"\u003e Satellites","others","Recently Updated","\u003ca id=\"01e6651181d405ecdcd92a452989e7e0\"\u003e\u003c/a\u003e工具","网络服务","cloudflare","Load Balancing \u0026 Ingress","Internet","DNS","Networking \u0026 Performance","网络"],"sub_categories":["Windows Manager","\u003ca id=\"56acb7c49c828d4715dce57410d490d1\"\u003e\u003c/a\u003e未分类-Proxy","Transliteration","[Oct 18, 2024](/content/2024/10/18/README.md)","\u003ca id=\"9d6789f22a280f5bb6491d1353b02384\"\u003e\u003c/a\u003e隧道\u0026\u0026穿透","网络服务_其他","Tunneling \u0026 Proxies","音译"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudflare%2Fcloudflared","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudflare%2Fcloudflared","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudflare%2Fcloudflared/lists"}