Skip to content
Argo Tunnel
Visit Argo Tunnel on GitHub
Set theme to dark (⇧+D)

Installation

Argo Tunnel requires the installation of a lightweight server-side daemon, cloudflared, to connect your infrastructure to Cloudflare. cloudflared is an open source project maintained by Cloudflare.

Releases can be found on GitHub. Downloads are available as standalone binaries or packages like Debian and RPM.

Linux

Typeamd64 / x86-64x86 (32-bit)ARMv6ARM64
BinaryDownloadDownloadDownloadDownload from GitHub
.debDownloadDownloadDownload-
.rpmDownloadDownloadDownload-

Docker

A Docker image of cloudflared is available on DockerHub.

macOS

You can install cloudflared on macOS systems via Homebrew:

$ brew install cloudflare/cloudflare/cloudflared

Alternatively, you can download the latest Darwin amd64 release directly.

Windows

Type32-bit64-bit
ZIPDownloadDownload

Once cloudflared is installed:

  1. Navigate to the Downloads folder.
  2. Right-click on the ZIP folder and select Extract All to extract the executable.
  3. Next, open PowerShell.
  4. Navigate to the same Downloads folder.
  5. Run the cloudflared.exe executable as an administrator to confirm the installation, replacing the path in the example below with the specifics of your directory:
PS C:\Users\Administrator\Downloads\cloudflared-stable-windows-amd64> .\cloudflared.exe --version

The command above should output the version of cloudflared if successfully installed.

Updating cloudflared

You can update cloudflared by running the following command.

cloudflared update

The update will cause cloudflared to restart which would impact traffic currently being served. You can perform zero-downtime upgrades by using Cloudflare's Load Balancer product or by using multiple cloudflared instances.

Cloudflare Load Balancer

We recommend this option if you are currently using Cloudflare's Load Balancer product with your Argo Tunnel deployment.

  1. Install a new instance of cloudflared and create a new Argo Tunnel.
  2. Configure the instance to point traffic to the same service or URL as your current, active instance of cloudflared.
  3. Add the address of the new instance of cloudflared into your Load Balancer pool as priority 2.
  4. Swap the priority such that the new instance is now priority 1 and monitor to confirm traffic is being served.
  5. Once confirmed, you can remove the older version from the Load Balancer pool.

Running multiple cloudflared instances

  1. Install a new instance of cloudflared and create a new Argo Tunnel.
  2. Configure the instance to point traffic to the same service or URL as your current, active instance of cloudflared.
  3. In the Cloudflare DNS dashboard, replace the address of the current instance of cloudflared with the address of the new instance. Save the record.
  4. Remove the now-inactive instance of cloudflared.