Cloudflare Zero Trust Guide
Isometric laptop sends data cubes through a locked cyan tunnel to connected servers, visualizing secure routing by a network client.
comparisons

Cloudflare WARP vs VPN: When to Use Each

Compare Cloudflare WARP with a VPN for encrypted browsing, exit country choice, and private work access. Check client modes and verify a private route.

By Cloudflare Zero Trust Guide Editorial · · 7 min read

Cloudflare WARP is a VPN that can encrypt traffic from your device to Cloudflare. Consumer WARP has no exit-country picker. For private work apps, use an enrolled Cloudflare One Client and a connector route. Set a policy to control which users and devices can connect. WARP introduction · Consumer WARP modes · Private network routing

What you wantWhat to use
Encrypted transport on public Wi-FiConsumer WARP in Traffic and DNS mode. It tunnels device traffic and DNS to Cloudflare.
A public IP in a country you chooseA VPN with a server selector and an exit in that country. Consumer WARP has no country selector.
Access to a private work appAn enrolled Cloudflare One Client in a routing mode, with a connector route and an access policy for the app.

Two products, one name

The consumer app offers Traffic and DNS, formerly called 1.1.1.1 with WARP, to tunnel device traffic. DNS only encrypts lookups while other traffic takes its usual path. Consumer WARP modes

The managed Cloudflare One Client, formerly called WARP, sends traffic and DNS queries through Cloudflare, where Gateway can filter them. It also reports device health data for use in Access and Gateway policies. Cloudflare One Client overview

What WARP will not do for you

Consumer WARP has no way to choose a country for your public exit IP. A VPN with selectable exits fits that job. The Cloudflare WARP region guide explains automatic routing and managed egress options. Consumer WARP modes

WARP encrypts traffic on the hop to Cloudflare. Cloudflare’s privacy documentation says it collects limited DNS and traffic data, excluding payloads. The service can retain an app installation ID and usage data such as transfer volume. WARP client privacy

On the managed client, default exclusions keep private IP ranges outside the WARP tunnel. An enrolled device needs a Split Tunnels configuration that sends the office subnet through WARP and a matching connector route to reach it. Connect an IP/CIDR

”WARP is on” is not one state

On an enrolled device, look for the Mode value in warp-cli settings. The mode controls traffic and DNS handling. Split Tunnels then controls which IP traffic enters the tunnel in routing modes. Client modes · Split Tunnels

Managed modeApplication trafficDNSClient posture checkswarp-cli settings mode
Traffic and DNS (default)Routes device traffic, subject to Split TunnelsForwarded to the client DNS resolverYesWarpWithDnsOverHttps
DNS onlyUses the device’s usual network pathCloudflare account resolverNoDnsOverHttps
Traffic onlyRoutes device traffic, subject to Split TunnelsOperating system resolverYesTunnelOnly
Local proxySends traffic from apps configured to use the proxyNo separate client DNS forwardingNoWarpProxy (default port 40000)
Posture onlyNo application traffic through the clientNo DNS forwardingYes, for Access policiesPostureOnly

Traffic only mode is available on Windows, macOS, and Linux. It disables domain-based Split Tunnels and Local Domain Fallback. Local proxy mode requires MASQUE over HTTP/3. Client modes

WARP client transport settings and firewall access

MASQUE is the default managed tunnel protocol, and WireGuard is an alternative. Check the applied protocol with warp-cli settings | grep -i protocol. The output includes the WARP tunnel protocol setting. Device client settings · Cloudflare One Client troubleshooting

For the managed client, MASQUE uses UDP 443 by default and can fall back to TCP 443. WireGuard defaults to UDP 2408. Use the client firewall guide for the destination IP ranges and fallback ports. Cloudflare One Client with firewall

Device posture belongs to the managed client

Enable the posture check you plan to use and verify that it supports your device platform. For example, Cloudflare One Client can check disk encryption on macOS, Windows, and Linux. Cloudflare One Client checks

Which one you actually want

For a work VPN migration, the Zero Trust ingress walkthrough explains how Tunnel, Access, and Gateway fit together. For peer-to-peer connectivity between devices, see the mesh options in the Cloudflare Access vs Tailscale comparison.

Verify the WARP client mode and private route

This example uses an existing cloudflared tunnel whose connector can reach the office subnet 10.20.0.0/16. The example HTTPS app is at 10.20.30.40. Enroll both test devices in the same organization and assign a pilot profile in Traffic and DNS mode. Connect an IP/CIDR

Set the pilot policy and connector route

Enrolled devices that can route to the subnet can reach it by default. Cloudflare recommends a catch-all Gateway Block policy for the private range, with higher-priority Allow policies for specific apps or IPs. Connect an IP/CIDR

  1. Go to Traffic controls → Traffic settings → Proxy and inspection, enable Allow Secure Web Gateway to proxy traffic, and select TCP. Enable all Network logs for the pilot under Log traffic activity. Connect an IP/CIDR · Set up network filtering
  2. In Firewall policies → Network, add an Allow rule. Match Destination IP 10.20.30.40, Destination Port 443, the approved user group under User Group Names, and the required disk encryption check under Passed Device Posture Checks. Join the conditions with And. Set up network filtering · Network policies
  3. Use a catch-all Block rule for Destination IP in 10.20.0.0/16. Give the app’s Allow rule higher priority than this Block rule. Network policies
  4. In Networking → Routes → Create route → Tunnel CIDR, select the existing tunnel and enter 10.20.0.0/16. Select Create route. Connect an IP/CIDR

Carve out the office subnet in Exclude mode

  1. Go to Zero Trust → Team & Resources → Devices → Device profiles → General profiles. On the pilot profile, select Configure → Split Tunnels → Manage and confirm it is in Exclude mode. Save a copy of the exclusion list before editing. Split Tunnels
  2. In the Split Tunnels calculator, enter 10.0.0.0/8 as Base CIDR and 10.20.0.0/16 as Subtracted CIDRs. Select Calculate. Split Tunnels
  3. Replace the 10.0.0.0/8 exclusion with the remainder below. Use IP Address → Save destination for each CIDR. Keep unrelated exclusions and check that no remaining entry covers the app IP. Split Tunnels
10.0.0.0/12
10.16.0.0/14
10.21.0.0/16
10.22.0.0/15
10.24.0.0/13
10.32.0.0/11
10.64.0.0/10
10.128.0.0/9

The remainder still excludes the rest of 10.0.0.0/8. The office subnet now goes through WARP to the connector. Check that each pilot device’s local IP address is outside 10.20.0.0/16. Connect an IP/CIDR

Check the applied settings and test both outcomes

Run these from a terminal on each pilot device:

warp-cli status
warp-cli settings

Expect Connected and Mode: WarpWithDnsOverHttps. Compare Profile ID with Profile details in the dashboard. Under Exclude mode, with hosts/ips, confirm that the remainder is present and 10.0.0.0/8 is absent. Cloudflare One Client troubleshooting · Client status example

Check the route to the app IP on both devices. The WARP interface should handle this IP even on the device that Gateway will block. Client architecture

PlatformCommandExpected interface
macOSroute get 10.20.30.40WARP’s utun interface
Windows (PowerShell)Find-NetRoute -RemoteIPAddress "10.20.30.40" | Select-Object InterfaceAlias -Last 1CloudflareWARP
Linuxip route get 10.20.30.40dev CloudflareWARP

Open the app’s private HTTPS URL on each pilot device. Use the app’s usual hostname and check that it resolves to 10.20.30.40. Troubleshoot private network connectivity

Pilot deviceExpected accessExpected Gateway action
Approved user and passing posture checkThe request reaches the app.Allow under the app rule.
Same access group, enrolled device that fails the required posture checkGateway blocks access to the app.Block under the catch-all rule.

In Insights → Logs → Network logs, filter by the test user, destination IP, and test time. Open the matching entry and compare Action and Policy Name with the expected rule. Gateway activity logs · Troubleshoot private network connectivity

If the request fails with no matching entry, check that all Network logs are enabled. Confirm the device route and the connector’s CIDR route. From the connector host, check the app’s TCP port with telnet 10.20.30.40 443 or, on Windows, Test-NetConnection 10.20.30.40 -Port 443. Set up network filtering · Troubleshoot private network connectivity

Roll out the profile only after both outcomes match and the pilot devices can still reach their usual local resources.

Evidence and limits. The managed mode values and routing steps are based on Cloudflare’s Client modes documentation (Nov 9, 2026) and Split Tunnels documentation (Oct 12, 2026). The steps were not run on a live deployment.

Sources

  1. Cloudflare Blog: Introducing WARP
  2. Cloudflare WARP client docs: WARP modes
  3. Cloudflare WARP client docs: Privacy
  4. Cloudflare One docs: Cloudflare One Client
  5. Cloudflare One docs: Client modes
  6. Cloudflare One docs: Cloudflare One Client checks
  7. Cloudflare One docs: Device client settings
  8. Cloudflare One docs: Cloudflare One Client with firewall
  9. Cloudflare One docs: Split Tunnels
  10. Cloudflare One docs: Connect an IP/CIDR
  11. Cloudflare One docs: Set up network filtering
  12. Cloudflare One docs: Gateway activity logs
  13. Cloudflare One docs: Network policies
  14. Cloudflare One docs: Troubleshoot the Cloudflare One Client
  15. Cloudflare One docs: Troubleshoot Cloudflare Mesh connectivity
  16. Cloudflare One docs: Client architecture
  17. Cloudflare One docs: Troubleshoot private network connectivity

Related