Fleet logo
Menu An icon indicating that interacting with this button will open the navigation menu.
Fleet logo An 'X' icon indicating that this can be interacted with to close the navigation menu.
Multi platform
Device management   (+ MDM) Orchestration   (+ monitoring) Software management   (+ CVEs) Integrations

Docs
Pricing
More
News Case studies Ask around Meetups Share your story The handbook Get your license Schedule a demo
Schedule a demo
Multi platform
Device management + MDM Orchestration + monitoring Software management + CVEs, usage, software catalog Integrations
Docs Pricing
More
News Case studies Ask around Meetups Share your story
The handbook Get your license Schedule a demo
Try it yourself
{{categoryFriendlyName}}/
{{thisPage.meta.articleTitle}}
search

Deploying Cloudflare WARP with Fleet

{{articleSubtitle}}

| The author's GitHub profile picture

Harrison Ravazzolo

Share

Share this article on Hacker News Share this article on LinkedIn Share this article on Twitter

On this page

{{topic.title}}
Docs Docs REST API REST API Guides Guides Talk to an engineer Talk to an engineer
Suggest an editSuggest an edit

Try it out

See what Fleet can do

Start now
macOS Windows Linux

Deploying Cloudflare WARP with Fleet

{{articleSubtitle}}

| The author's GitHub profile picture

Harrison Ravazzolo

Deploying Cloudflare WARP with Fleet

Cloudflare WARP is a secure VPN-like service that encrypts internet traffic and routes it through Cloudflare's network, improving privacy and security without compromising speed.

MacOS

  1. Create custom MDM Config a. Download the example .mobileconfig file b. Tailor the payload with the desired parameters to satisfy your deployment

  2. Upload .mobileconfig to Fleet a. In the Fleet admin console, navigate to Controls b. Select the Team that requires Cloudflare WARP c. Select OS settings > Custom settings d. Select Add profile and upload the .mobileconfig from step 1 e. Select the hosts which require Cloudflare WARP:

    • All hosts: Deploys WARP to all hosts in selected Team
    • Custom: Deploys WARP to a subset of the hosts in the Team using labels
An icon indicating that this section has important information

Note that the payload will be installed on all targeted hosts, but the WARP agent is not yet installed. Proceed to step 3 to complete the process.

  1. Install WARP on hosts a. In the Fleet admin console, navigate to Software b. Select the Team that requires Cloudflare WARP c. Select Add software
    • Either add Cloudflare WARP from the Fleet-maintained library or
    • Upload a custom .pkg obtained from Cloudflare. If deploying with this approach, WARP will still need to be installed on select hosts via the UI, API or GitOps. Learn more about deploying software from this article.
An icon indicating that this section has important information

If using Fleet-maintained app, you can choose to install on hosts automatically or manually. To allow users to install WARP from Fleet Desktop, check the box for Self-service.

Windows

  1. Download the WARP installer for Windows a. Visit the Download page to review system requirements and download the installer for your OS.

  2. Upload WARP installer to Fleet a. In the Fleet admin console, navigate to Software b. Select the Team that requires Cloudflare WARP c. Select Add software > Custom Package and upload the .msi file downloaded from step 1

    • To allow users to install WARP from Fleet Desktop, select Self-service. (Optional) d. Select Advanced options e. In Install script, replace the default script:
    $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
    }
An icon indicating that this section has important information

Refer to Cloudflare's deployment parameters for a description of each argument and adjust your script as needed.

  1. Install WARP on hosts a. In the Fleet admin console, navigate to Hosts b. Select the host that requires the WARP client c. Go to Software and search for Cloudflare WARP d. Select Actions > Install
An icon indicating that this section has important information

Learn more about ways to deploy software via the UI, API or GitOps from this article.

Linux

Fleet allows admins to execute custom scripts on Linux hosts. The following example script creates an MDM file and installs WARP on an Ubuntu host:

#!/bin/sh

# Write the mdm.xml file
touch /var/lib/cloudflare-warp/mdm.xml
echo -e "<dict>\n   <key>organization</key>\n   <string>your-team-name</string>\n</dict>
" > /var/lib/cloudflare-warp/mdm.xml

# Add cloudflare gpg key
curl -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 repositories
echo "deb [signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list

# Install
sudo apt-get -y update && sudo apt-get -y install cloudflare-warp
An icon indicating that this section has important information

To learn about deploying scripts across multiple hosts, check out this article.

To install WARP on other Linux distributions, refer to the package repository

Fleet logo
Multi platform Device management Orchestration Software management Integrations Pricing
Documentation Support Docs API Release notes Get your license
Company About News Jobs Logos/artwork Why open source?
ISO 27001 coming soon a small checkmarkSOC2 Type 2 Creative Commons Licence CC BY-SA 4.0
© 2025 Fleet Inc. Privacy
Slack logo GitHub logo LinkedIn logo X (Twitter) logo Youtube logo Mastadon logo
Tried Fleet yet?

Get started with Fleet

Start
continue
×