Cloudflare Docs
Cloudflare-One
Visit Cloudflare Zero Trust on GitHub
Set theme to dark (⇧+D)

Hexnode

Windows

To set up Cloudflare for Teams on Windows using Hexnode:

  1. Create a script file with .bat, .cmd, and .ps1 file formats to download, install and configure the Cloudflare WARP client Windows application on the device. Listed below is a sample script with all the configurable parameters:

    <# Choose file name for downloading application #>
    $filename = filename.msi'
    
    <# Download URL of the installer. #>
    $url = 'https://www.cloudflarewarp.com/Cloudflare_WARP_Release-x64.msi'
    Write-Host 'Downloading App from' $url
    Invoke-WebRequest -Uri $url -OutFile $filename
    
    <# Run the installer and wait for the installation to finish #>
    $arguments = "ORGANIZATION="exampleorg" SERVICE_MODE="warp" GATEWAY_UNIQUE_ID="fmxk762nrj" SUPPORT_URL="http://support.example.com""
    
    $installProcess = (Start-Process $filename -ArgumentList $arguments -PassThru -Wait)
    
    <# Check if installation was successful #>
    if ($installProcess.ExitCode -ne 0) {
        Write-Host "Installation failed!"
        exit $installProcess.ExitCode
    }
    else {
        Write-Host "Installation completed successfully!"
    }
    
  2. Push the script file to the devices using Hexnode.

  3. On your Hexnode console, go to Manage > Devices.

  4. Click on your device name. This will take you to the Device Summary.

  5. Click Actions > Execute Custom Script.

  6. Choose the script file source as Upload file, then upload the script file.

  7. Click Execute.

macOS

  1. Get the Cloudflare WARP client with identifier “com.apple.ManagedClient.preferences”.

  2. Upload the cloudflare_WARP.pkg file in Hexnode.

  3. On your Hexnode console, head on to Apps.

  4. Click on +Add Apps > Enterprise App.

  5. Select macOS as the app platform.

  6. Add an app name, category and description.

  7. Upload the PKG file and click Add.

  8. Set up an XML file with the supported app configurations for the app. Here’s a sample XML file with the accepted parameters.

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict> 
    <key>organization</key> 
    <string>organizationname</string> 
    <key>auto_connect</key> 
    <integer>1</integer> 
    <key>switch_locked</key> 
    <false /> 
    <key>service_mode</key> 
    <string>warp</string> 
    <key>support_url</key>
    <string>https://support.example.com</string>
    </dict>
    </plist>
    
  9. Push the app and configurations to the devices.

  10. On your Hexnode console, go to Policies.

  11. Create a new policy and provide a policy name.

  12. Go to macOS > App Management > Mandatory Apps and start setting up the policy.

  13. Click on +Add and select the previously uploaded WARP client app.

  14. Now go to App Configurations and click on +Add new configuration.

  15. Select the WARP client app and upload the XML file.

  16. Now go to Policy Targets and associate the policy with the target entities.

This will push the app along with the configurations to the selected devices.

iOS

To set up Cloudflare for Teams on iOS using Hexnode:

  1. Add the Cloudflare WARP iOS client to the Hexnode app inventory.

  2. On your Hexnode console, navigate to Apps.

  3. Click on +Add Apps > Store App.

  4. Select iOS as the app platform.

  5. Search for the app 1.1.1.1: Faster Internet and click on Add close to the app.

  6. Set up an XML file with the supported app configurations for the app. Refer this sample XML code to identify the supported arguments:

    <dict> 
    <key>organization</key> 
    <string>yourorganization</string> 
    <key>auto_connect</key> 
    <integer>1</integer> 
    <key>switch_locked</key> 
    <false /> 
    <key>service_mode</key> 
    <string>warp</string> 
    <key>support_url</key
    <string>https://support.example.com</string>
    </dict>
    
  7. Upload the app configurations in Hexnode.

    1. On your Hexnode console, go to the Apps tab.
    2. Find the 1.1.1.1 app and click on its name.
    3. Click on the settings icon and choose App Configuration.
    4. Upload the XML file in the corresponding field.
    5. Next, click Save.
  8. Push the app to the target devices using Hexnode.

    1. On your Hexnode console, go to Policies and create a new policy.
    2. Provide a name for the policy and go to iOS.
    3. Select Mandatory Apps from the left menu and click on Configure.
    4. Click on +Add > Add app, check the required app and click Done.
    5. Now go to Policy Targets and associate the policy with the required target entities.

Android

To set up Cloudflare for Teams on Android using Hexnode:

  1. Approve the app 1.1.1.1: Faster & Safer Internet as a Managed Google Play app.
    1. On your Hexnode console, navigate to the Apps tab.
    2. Click on +Add Apps > Managed Google Apps.
    3. Search and find the app 1.1.1.1: Faster & Safer Internet.
    4. Approve the app as a Managed Google app.
  2. Set up custom configurations for the app with App Configurations.
    1. On your Hexnode console, go to Policies and create a new policy.
    2. Go to Android > App Configurations > +Add new configuration.
    3. Search and find the app and set up the customizations.
    4. Associate the policy with the required target devices before saving from Policy Targets.

The app automatically gets installed on the devices once the policy with the app configuration reaches the device.