Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

17,190

Downloads of v 2022.5.0:

668

Last Update:

10 May 2022

Package Maintainer(s):

Software Author(s):

  • Cloudflare

Tags:

cloudflared cloudflare argo tunnel

cloudflared

This is not the latest version of cloudflared available.

  • 1
  • 2
  • 3

2022.5.0 | Updated: 10 May 2022

Downloads:

17,190

Downloads of v 2022.5.0:

668

Maintainer(s):

Software Author(s):

  • Cloudflare

cloudflared 2022.5.0

This is not the latest version of cloudflared available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install cloudflared, run the following command from the command line or from PowerShell:

>

To upgrade cloudflared, run the following command from the command line or from PowerShell:

>

To uninstall cloudflared, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade cloudflared -y --source="'INTERNAL REPO URL'" --version="'2022.5.0'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade cloudflared -y --source="'INTERNAL REPO URL'" --version="'2022.5.0'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install cloudflared
  win_chocolatey:
    name: cloudflared
    version: '2022.5.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'cloudflared' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2022.5.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller cloudflared
{
    Name     = "cloudflared"
    Version  = "2022.5.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'cloudflared':
  ensure   => '2022.5.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

Package Approved

This package was approved as a trusted package on 10 May 2022.

Description

You can connect applications, servers, and other resources to Cloudflare's network using Cloudflare Tunnel. When connected, Cloudflare can apply Zero Trust policies to determine who can reach the resource.

When Cloudflare receives a request for your chosen hostname, it proxies the request through those connections to cloudflared. In turn, cloudflared proxies the request to your applications.

This package is particularly suited to installing the CLI executable for use tunnelling to infrastructure using Cloudflare Access as it contains only the standalone binary, and does not configure or create services.

Please see Useful commands for usage examples.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  FileFullPath  = Join-Path $toolsDir "cloudflared.exe"

  url           = 'https://github.com/cloudflare/cloudflared/releases/download/2022.5.0/cloudflared-windows-386.exe'
  url64bit      = 'https://github.com/cloudflare/cloudflared/releases/download/2022.5.0/cloudflared-windows-amd64.exe'

  checksum      = '06ab4c8ad224540dfcfdfc6fe2273e4177a32720b738508a86419425b5141f4e'
  checksumType  = 'sha256'
  checksum64    = '1489161133f70551cfca62f11ace790537822d758bead17bbd0c443bf0c723bb'
  checksumType64= 'sha256'
}

Get-ChocolateyWebFile @packageArgs
tools\LICENSE.txt
From: https://github.com/cloudflare/cloudflared/blob/master/LICENSE

LICENSE

SERVICES AGREEMENT

Your installation of this software is symbol of your signature indicating that
you accept the terms of this Services Agreement (this "Agreement").  This
Agreement is a legal agreement between you (either an individual or a single
entity) and CloudFlare, Inc. for the services being provided to you by
CloudFlare or its authorized representative (the "Services"), including any
computer software and any associated media, printed materials, and "online" or
electronic documentation provided in connection with the Services (the
"Software" and together with the Services are hereinafter collectively referred
to as the "Solution").  If the user is not an individual, then "you" means your
company, its officers, members, employees, agents, representatives, successors
and assigns.  BY USING THE SOLUTION, YOU ARE INDICATING THAT YOU HAVE READ, AND
AGREE TO BE BOUND BY, THE POLICIES, TERMS, AND CONDITIONS SET FORTH BELOW IN
THEIR ENTIRETY WITHOUT LIMITATION OR QUALIFICATION, AS WELL AS BY ALL APPLICABLE
LAWS AND REGULATIONS, AS IF YOU HAD HANDWRITTEN YOUR NAME ON A CONTRACT.  IF YOU
DO NOT AGREE TO THESE TERMS AND CONDITIONS, YOU MAY NOT USE THE SOLUTION.

1.    GRANT OF RIGHTS

1.1	Grant of License.  The Solution is licensed by CloudFlare and its
licensors, not sold.  Subject to the terms and conditions of this Agreement,
CloudFlare hereby grants you a nonexclusive, nonsublicensable, nontransferable
license to use the Solution.  You may examine source code, if provided to you,
solely for the limited purpose of evaluating the Software for security flaws.
You may also use the Service to create derivative works which are exclusively
compatible with any CloudFlare product serviceand no other product or service.
This license applies to the parts of the Solution developed by CloudFlare.  The
Solution may also incorporate externally maintained libraries and other open software.
These resources may be governed by other licenses.

1.2	Restrictions.  The license granted herein is granted solely to you and
not, by implication or otherwise, to any of your parents, subsidiaries or
affiliates.  No right is granted hereunder to use the Solution to perform
services for third parties. All rights not expressly granted hereunder are
reserved to CloudFlare.  You may not use the Solution except as explicitly
permitted under this Agreement.  You are expressly prohibited from modifying,
adapting, translating, preparing derivative works from, decompiling, reverse
engineering, disassembling or otherwise attempting to derive source code from
the Software used to provide the Services or any internal data files generated
by the Solution.  You are also prohibited from removing, obscuring or altering
any copyright notice, trademarks, or other proprietary rights notices affixed to
or associated with the Solution.

1.3	Ownership.  As between the parties, CloudFlare and/or its licensors own
and shall retain all right, title, and interest in and to the Solution,
including any and all technology embodied therein, including all copyrights,
patents, trade secrets, trade dress and other proprietary rights associated
therewith, and any derivative works created there from.

2.	LIMITATION OF LIABILITY

YOU EXPRESSLY ACKNOWLEDGE AND AGREE THAT DOWNLOADING THE SOFTWARE IS AT YOUR
SOLE RISK.  THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND
AND CLOUDFLARE, ITS LICENSORS AND ITS AUTHORIZED REPRESENTATIVES (TOGETHER FOR
PURPOSES HEREOF, "CLOUDFLARE") EXPRESSLY DISCLAIM ALL WARRANTIES, EXPRESS OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  CLOUDFLARE DOES NOT
WARRANT THAT THE FUNCTIONS CONTAINED IN THE SOFTWARE WILL MEET YOUR
REQUIREMENTS, OR THAT THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED OR
ERROR-FREE, OR THAT DEFECTS IN THE SOFTWARE WILL BE CORRECTED.  FURTHERMORE,
CLOUDFLARE DOES NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE SOFTWARE
OR RELATED DOCUMENTATION IN TERMS OF THEIR CORRECTNESS, ACCURACY, RELIABILITY,
OR OTHERWISE. NO ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY CLOUDFLARE SHALL
CREATE A WARRANTY OR IN ANY WAY INCREASE THE SCOPE OF THIS WARRANTY.

3.	CONFIDENTIALITY

It may be necessary during the set up and performance of the Solution for the
parties to exchange Confidential Information. "Confidential Information" means
any information whether oral, or written, of a private, secret, proprietary or
confidential nature, concerning either party or its business operations,
including without limitation: (a) your data and (b) CloudFlare's access control
systems, specialized network equipment and techniques related to the Solution,
use policies, which include trade secrets of CloudFlare and its licensors. Each
party agrees to use the same degree of care to protect the confidentiality of
the Confidential Information of the other party and to prevent its unauthorized
use or dissemination as it uses to protect its own Confidential Information of a
similar nature, but in no event shall exercise less than due diligence and
reasonable care. Each party agrees to use the Confidential Information of the
other party only for purposes related to the performance of this Agreement. All
Confidential Information remains the property of the party disclosing the
information and no license or other rights to Confidential Information is
granted or implied hereby.

4.	TERM AND TERMINATION

4.1	Term.  This Agreement shall be effective upon download or install of the
Software.

4.2	Termination. This Agreement may be terminated by CloudFlare or its
authorized representative by written notice to you if any of the following
events occur:  (i) you fail to pay any amounts due for the Services and the
Solution when due and after written notice of such nonpayment has been given to
you; (ii) you are in material breach of any term, condition, or provision of
this Agreement or any other agreement executed by you with CloudFlare or its
authorized representative in connection with the provision of the Solution and
Services (a "Related Agreement"); or (iii) you terminate or suspend your
business, becomes subject to any bankruptcy or insolvency proceeding under
federal or state statutes, or become insolvent or subject to direct control by a
trustee, receiver or similar authority.

4.3	Effect of Termination.  Upon the termination of this Agreement for any
reason: (1) all license rights granted hereunder shall terminate and (2) all
Confidential Information shall be returned to the disclosing party or destroyed.

5.	MISCELLANEOUS

5.1	Assignment.  You may not assign any of your rights or delegate any of
your obligations under this Agreement, whether by operation of law or otherwise,
without the prior express written consent of CloudFlare or its authorized
representative.  Any such assignment without the prior express written consent
of CloudFlare or its authorized representative shall be void.  Subject to the
foregoing, this Agreement will bind and inure to the benefit of the parties,
their respective successors and permitted assigns.

5.2	Waiver and Amendment.  No modification, amendment or waiver of any
provision of this Agreement shall be effective unless in writing and signed by
the party to be charged.  No failure or delay by either party in exercising any
right, power, or remedy under this Agreement, except as specifically provided
herein, shall operate as a waiver of any such right, power or remedy.  Without
limiting the foregoing, terms and conditions on any purchase orders or similar
materials submitted by you to CloudFlare or its authorized representative shall
be of no force or effect.

5.3	Governing Law.  This Agreement shall be governed by the laws of the State
of California, USA, excluding conflict of laws and provisions, and excluding the
United Nations Convention on Contracts for the International Sale of Goods.

5.4	Notices.  All notices, demands or consents required or permitted under
this Agreement shall be in writing.  Notice shall be sent to you at the e-mail
address provided by you to CloudFlare or its authorized representative in
connection with the Solution.

5.5	Independent Contractors. The parties are independent contractors.
Neither party shall be deemed to be an employee, agent, partner or legal
representative of the other for any purpose and neither shall have any right,
power or authority to create any obligation or responsibility on behalf of the
other.

5.6	Severability.  If any provision of this Agreement is held by a court of
competent jurisdiction to be contrary to law, such provision shall be changed
and interpreted so as to best accomplish the objectives of the original
provision to the fullest extent allowed by law and the remaining provisions of
this Agreement shall remain in full force and effect.

5.7	Force Majeure.  CloudFlare shall not be liable to the other party for any
failure or delay in performance caused by reasons beyond its reasonable control.

5.8	Complete Understanding.  This Agreement and the Related Agreement
constitute the final, complete and exclusive agreement between the parties with
respect to the subject matter hereof, and supersedes all previous written and
oral agreements and communications related to the subject matter of this
Agreement.  To the extent this Agreement and the Related Agreement conflict,
this Agreement shall control.
tools\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
 
The cloudflared releases page (https://github.com/cloudflare/cloudflared/releases) lists SHA256 checksums along with the download links.

- Navigate to the releases page and find the release matching the package version.
- Find the `cloudflared-windows-amd64.exe` or `cloudflared-windows-386.exe` checksum
- Compare it to the file by running `Get-FileHash`, or the hash listed in `chocolateyInstall.ps1`.

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
cloudflared 2024.4.0 610 Wednesday, April 10, 2024 Approved
cloudflared 2024.3.0 708 Monday, March 25, 2024 Approved
cloudflared 2024.2.1 812 Wednesday, February 21, 2024 Approved
cloudflared 2024.2.0 864 Thursday, February 8, 2024 Approved
cloudflared 2024.1.5 1463 Friday, January 26, 2024 Approved
cloudflared 2024.1.4 825 Saturday, January 20, 2024 Approved
cloudflared 2024.1.3 640 Friday, January 19, 2024 Approved
cloudflared 2023.10.0 1354 Tuesday, October 31, 2023 Approved
cloudflared 2023.8.2 549 Thursday, August 31, 2023 Approved
cloudflared 2023.8.1 210 Monday, August 28, 2023 Approved
cloudflared 2023.8.0 205 Friday, August 25, 2023 Approved
cloudflared 2023.7.3 389 Wednesday, July 26, 2023 Approved
cloudflared 2023.7.2 163 Monday, July 24, 2023 Approved
cloudflared 2023.7.1 208 Monday, July 17, 2023 Approved
cloudflared 2023.7.0 143 Thursday, July 13, 2023 Approved
cloudflared 2023.5.1 360 Wednesday, May 31, 2023 Approved
cloudflared 2022.11.0 844 Sunday, November 27, 2022 Approved
cloudflared 2022.10.3 292 Friday, October 28, 2022 Approved
cloudflared 2022.10.2 199 Wednesday, October 19, 2022 Approved
cloudflared 2022.10.1 76 Wednesday, October 19, 2022 Approved
cloudflared 2022.10.0 264 Friday, October 7, 2022 Approved
cloudflared 2022.9.1 203 Thursday, September 29, 2022 Approved
cloudflared 2022.9.0 277 Wednesday, September 7, 2022 Approved
cloudflared 2022.8.4 182 Thursday, September 1, 2022 Approved
cloudflared 2022.8.2 293 Tuesday, August 16, 2022 Approved
cloudflared 2022.8.0 203 Friday, August 12, 2022 Approved
cloudflared 2022.7.1 556 Wednesday, July 6, 2022 Approved
cloudflared 2022.7.0 159 Wednesday, July 6, 2022 Approved
cloudflared 2022.6.3 440 Monday, June 20, 2022 Approved
cloudflared 2022.6.2 166 Friday, June 17, 2022 Approved
cloudflared 2022.6.1 161 Wednesday, June 15, 2022 Approved
cloudflared 2022.5.3 247 Wednesday, June 8, 2022 Approved
cloudflared 2022.5.0 668 Tuesday, May 10, 2022 Approved
cloudflared 2022.3.1 779 Wednesday, March 16, 2022 Approved
cloudflared 2022.1.0 646 Friday, January 7, 2022 Approved
cloudflared 2021.11.0 267 Thursday, November 25, 2021 Approved
cloudflared 2021.10.3 190 Friday, October 15, 2021 Approved
cloudflared 2021.9.0 144 Friday, September 17, 2021 Approved

This package has no dependencies.

Discussion for the cloudflared Package

Ground Rules:

  • This discussion is only about cloudflared and the cloudflared package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or cloudflared, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus