Fleet
This guide covers how to deploy the Cloudflare One Client (formerly WARP) using Fleet ↗ device management software.
- Download an example
.mobileconfigfile. - Modify the file with your desired deployment parameters.
- In the Fleet admin console, go to Controls.
- From the Teams dropdown, select the team (group of hosts) that requires the Cloudflare One Client.
- Select OS settings > Custom settings.
- Select Add profile and upload the custom
.mobileconfig. - Select the hosts which require the Cloudflare One Client:
- All hosts: Deploys the Cloudflare One Client to all hosts in the team.
- Custom: Deploys the Cloudflare One Client to a subset of the hosts in the team. Use labels ↗ to define the hosts that should be included or excluded.
- Select Add profile.
The defined hosts will immediately receive the deployment profile, but the Cloudflare One Client is not yet installed.
Visit the Download page to review system requirements and download the installer for your operating system.
To add the Cloudflare One Client installer package for distribution to your hosts enrolled in Fleet:
- In the Fleet admin console, go to Software.
- From the Teams dropdown, select the team (group of hosts) that requires the Cloudflare One Client.
- Select Add Software and upload the
.pkgfile that was previously downloaded.
To deploy the uploaded .pkg file to your hosts:
- In the Fleet admin console, go to Hosts.
- Select the host that requires the Cloudflare One Client.
- Go to Software and search for
Cloudflare. - Select Actions > Install.
Installation will happen automatically when the host comes online. To deploy with REST API or GitOps, refer to the Fleet documentation ↗.
After deploying the Cloudflare One Client, you can check its connection progress using the Connectivity status messages displayed in the Cloudflare One Client GUI.
To uninstall the Fleet-deployed Cloudflare One Client:
- In the Fleet admin console, go to Hosts.
- Select the host that requires the Cloudflare One Client to be uninstalled.
- Go to Software and search for
Cloudflare. - Select Actions > Uninstall.
Visit the Download page to review system requirements and download the installer for your operating system.
To add the Cloudflare One Client installer package for distribution to your hosts enrolled in Fleet:
- In the Fleet admin console, go to Software.
- From the Teams dropdown, select the team (group of hosts) that requires the Cloudflare One Client.
- Select Add Software and upload the
.msifile that was previously downloaded. - (Optional) To allow users to install the Cloudflare One Client from Fleet Desktop, select Self-service.
- Select Advanced options.
- In Install script, replace the default script with the following:
$logFile = "${env:TEMP}/fleet-install-software.log"
try {
$installProcess = Start-Process msiexec.exe ` -ArgumentList "/quiet /norestart ORGANIZATION=your-team-name SUPPORT_URL=https://example.com /lv ${logFile} /i `"${env:INSTALLER_PATH}`"" ` -PassThru -Verb RunAs -Wait
Get-Content $logFile -Tail 500
Exit $installProcess.ExitCode
} catch { Write-Host "Error: $_" Exit 1}Refer to deployment parameters for a description of each argument.
To deploy the uploaded .pkg file to your hosts:
- In the Fleet admin console, go to Hosts.
- Select the host that requires the Cloudflare One Client.
- Go to Software and search for
Cloudflare. - Select Actions > Install.
Installation will happen automatically when the host comes online. To deploy with REST API or GitOps, refer to the Fleet documentation ↗.
After deploying the Cloudflare One Client, you can check its connection progress using the Connectivity status messages displayed in the Cloudflare One Client GUI.
To uninstall the Fleet-deployed Cloudflare One Client:
- In the Fleet admin console, go to Hosts.
- Select the host that requires the Cloudflare One Client to be uninstalled.
- Go to Software and search for
Cloudflare. - Select Actions > Uninstall.
Fleet allows you to execute custom scripts ↗ on Linux hosts. The following example script creates an MDM file and installs the Cloudflare One Client on an Ubuntu 22.04 host:
#!/bin/sh
# Write the mdm.xml filetouch /var/lib/cloudflare-warp/mdm.xmlecho -e "<dict>\n <key>organization</key>\n <string>your-team-name</string>\n</dict>" > /var/lib/cloudflare-warp/mdm.xml
# Add cloudflare gpg keycurl -fsSL https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg
# Add this repo to your apt repositoriesecho "deb [signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ any main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list
# Installsudo apt-get -y update && sudo apt-get -y install cloudflare-warpTo install the Cloudflare One Client on other Linux distributions, refer to the package repository ↗.