Skip to content
AnswerWell geo Documentation

Research · 8 min read · Answerwell

Device Client Modes, Traffic Routing, and Tunnel Architecture

How Cloudflare One Client and WARP operating modes route DNS and IP traffic, which Gateway features each mode enables, and how to verify the active mode.

This page summarises Cloudflare’s documentation on the Cloudflare One Client (formerly WARP): why organisations deploy it as an on-ramp to Cloudflare Gateway, how traffic is routed on the device, and how client modes trade off DNS filtering, network filtering, and HTTP inspection. Consumer 1.1.1.1 with WARP uses related technology but is documented separately; Zero Trust deployments should follow the Cloudflare One Client path, not the consumer WARP client guides.

Cloudflare One Client versus consumer WARP: which documentation applies?

Section titled “Cloudflare One Client versus consumer WARP: which documentation applies?”

People often install “WARP” and are unsure whether they are on personal privacy DNS/VPN or corporate Zero Trust. Cloudflare draws a hard line between the two product lines.

Looking for Zero Trust? This documentation is for the consumer version of WARP (1.1.1.1 with WARP). If you are using WARP for Zero Trust security, refer to the Cloudflare One Client documentation.

— Cloudflare, Get started (WARP client)

For organisations, the client is the usual way to send user traffic to Gateway:

The Cloudflare One Client is the most common onramp to send user traffic to Gateway. It is a lightweight device client, which builds proxy tunnels using either Wireguard or MASQUE, and builds a DNS proxy using DNS-over-HTTPS.

— Cloudflare, Choose an on-ramp

The enterprise client also reports device health (OS version, encryption, installed apps) so device posture checks can run in Access and Gateway policies—something the consumer app is not designed for. Cloudflare is also shipping a dedicated Cloudflare One Agent for Zero Trust while keeping consumer functionality in the 1.1.1.1 app; on mobile, only one of those VPN apps can be connected at a time (migration notes).

Client architecture: how DNS and IP traffic reach Gateway

Section titled “Client architecture: how DNS and IP traffic reach Gateway”

The client architecture guide explains how the client interacts with the operating system in Traffic and DNS mode (and notes that DNS-only or traffic-only sections of that doc apply only in those respective modes).

The client forwards DNS and network traffic to Cloudflare’s network, where Zero Trust policies apply. On all platforms, the WARP daemon maintains three connections:

Connection Protocol Purpose
WARP tunnel (WireGuard or MASQUE) UDP IP packets to Gateway for network policy, HTTP policy, and private network access
DoH HTTPS DNS requests to Gateway for DNS policy (DoH runs inside the WARP tunnel)
Device orchestration HTTPS Registration, posture checks, profile settings

Split Tunnel settings decide which IP traffic uses the tunnel. Local Domain Fallback decides which DNS names are sent to Gateway via DoH. Traffic to the device orchestration API is not subject to Split Tunnel rules—it always runs outside the tunnel.

On Windows, macOS, and Linux, the install is a background service/daemon plus a GUI. Connecting changes three things for IP traffic: a virtual network interface, OS routing table entries per Split Tunnel rules, and OS firewall rules. On iOS, Android, and ChromeOS, the client registers as a VPN using each platform’s VPN framework; ChromeOS runs the Android build in a VM (client architecture — mobile).

Client modes: what Gateway features each mode enables

Section titled “Client modes: what Gateway features each mode enables”

Client modes control which traffic types are sent to Cloudflare and therefore which Gateway capabilities are available on the device.

Client mode Best for DNS filtering Network filtering HTTP filtering warp-cli service mode
Traffic and DNS mode (default) Full security Yes Yes Yes WarpWithDnsOverHttps
DNS only mode DNS filtering only Yes No No DnsOverHttps
Traffic only mode Keep existing DNS stack No Yes Yes TunnelOnly
Local proxy mode Per-app HTTP proxy No No Yes WarpProxy on port 40000
Posture only mode Posture without routing No No No PostureOnly

MDM deployments map the same ideas via service_mode: warp (Traffic and DNS), 1dot1 (DNS only), tunnelonly (Traffic only), proxy (Local proxy), postureonly (parameters).

Traffic and DNS mode (default): full Gateway coverage

Section titled “Traffic and DNS mode (default): full Gateway coverage”

The Cloudflare One Client routes device traffic for all ports and protocols, and forwards DNS resolution to the client DNS resolver. Use when you want full security coverage, including DNS filtering, HTTP inspection, network firewall policies, and device posture checks.

— Cloudflare, Client modes — Traffic and DNS

Enabled capabilities include DNS policies, network policies, HTTP policies, Browser Isolation, identity-based policies, device posture checks, antivirus scanning, and Data Loss Prevention. Consumer “full WARP” is analogous: in WARP mode, all traffic including DNS is encrypted and sent over the tunnel (macOS WARP modes).

DNS only mode: filter DNS without tunneling application traffic

Section titled “DNS only mode: filter DNS without tunneling application traffic”

DNS only mode suits organisations that only need outbound DNS filtering. First-time setup states it does not enable HTTP policies, identity-based policies, device posture checks, or Browser Isolation.

On consumer Linux clients, the same idea appears as warp-cli mode doh (Switch modes). Consumer DNS-only can use DoH or DoT (WARP modes — DNS only).

Traffic only mode: proxy IP traffic but leave DNS on the device

Section titled “Traffic only mode: proxy IP traffic but leave DNS on the device”

The Cloudflare One Client routes device traffic for all ports and protocols. DNS resolution remains managed by the device operating system. Use when you want to proxy network and HTTP traffic but keep your existing DNS filtering software.

— Cloudflare, Client modes — Traffic only

This mode is common beside legacy VPNs that must keep DNS control: the client “only controls IP routing” (VPN coexistence).

Limitations from the same page:

  • Features that depend on client-side DNS resolution are disabled, including domain-based split tunneling and Local Domain Fallback.
  • Desktop only (Windows, Linux, macOS)—not mobile.
  • Known issue with DNS servers that use IPv6 addresses.

Device posture checks still work in Traffic only mode (supported client modes for posture).

Local proxy mode: SOCKS/HTTP proxy for selected applications

Section titled “Local proxy mode: SOCKS/HTTP proxy for selected applications”

Local proxy mode forwards only explicitly proxied local HTTP traffic—useful when a few apps must be inspected while everything else stays on the normal path.

Limits:

  • Requires apps/OS support for SOCKS5 or HTTP proxy.
  • Requires MASQUE; WireGuard is not supported (Local proxy limitations).
  • Desktop only (Windows, Linux, macOS).
  • 10 second request timeout; longer requests are dropped by Cloudflare.

Consumer WARP exposes a similar idea under Preferences → Advanced → Configure Proxy (WARP modes — Local proxy).

Posture only mode: device signals without traffic steering

Section titled “Posture only mode: device signals without traffic steering”

Posture only mode performs device posture reporting without routing user traffic through Gateway—listed alongside Traffic and DNS and Traffic only for integrations such as service providers and posture checks.

Device tunnel protocol: MASQUE versus WireGuard

Section titled “Device tunnel protocol: MASQUE versus WireGuard”

For Traffic and DNS and Traffic only modes, device tunnel protocol selects how IP traffic reaches Gateway:

  • MASQUE (default): HTTP/3 to Cloudflare; TLS 1.3 with a FIPS 140-3 compliant cipher (TLS_AES_256_GCM_SHA384). Unique IP per device is on by default with MASQUE.
  • WireGuard: Non-FIPS cipher suite (TLS_CHACHA20_POLY1305_SHA256). Switching from MASQUE to WireGuard can cause loss of Internet connectivity if the network blocks WireGuard ports or IPs.

Check the active protocol:

warp-cli settings | grep protocol

On Linux consumer builds, protocol values are case-sensitive: warp-cli tunnel protocol set MASQUE or set WireGuard (Linux — Switch tunnel protocol). Local proxy mode and some advanced features (for example Path MTU Discovery) require MASQUE.

Mode switch, troubleshooting labels, and common mistakes

Section titled “Mode switch, troubleshooting labels, and common mistakes”

Administrators can allow end users to toggle only between Traffic and DNS and DNS only when Mode switch is enabled in device settings—not between Traffic only, Local proxy, or Posture only (Mode switch).

Troubleshooting exports often include:

Mode: WarpWithDnsOverHttps
Allow Mode Switch: true

WarpWithDnsOverHttps means Traffic and DNS mode; match other values using the comparison table above (troubleshooting guide — Mode).

Common mistakes

  1. Reading consumer docs for a Zero Trust rollout — use Cloudflare One Client, not WARP client get-started, for corporate policy enforcement.
  2. Choosing Traffic only mode but expecting DNS policies or domain split tunnels — DNS-dependent features are off by design.
  3. Deploying Local proxy with WireGuard — switch to MASQUE first.
  4. Expecting full mode switching from the GUI — only Traffic and DNS ↔ DNS only is supported for user mode switch.
  5. Ignoring throughput trade-offs — encrypting all traffic can reduce measured throughput on fast fixed broadband; Cloudflare documents this for both corporate and consumer clients (Devices FAQ, WARP FAQ).

Consumer WARP has additional behavioral limits: WebRTC and camera/microphone flows can bypass the tunnel, exposing the original IP; location-licensed apps may misbehave (Known issues).

For resilience, the Cloudflare One Client caches policies locally and can enforce controls when management APIs are unreachable, riding Cloudflare’s anycast network (Business continuity).

  1. Confirm which product you deployed: Zero Trust should reference Cloudflare One Client; personal 1.1.1.1 installs should reference WARP client documentation only.
  2. On a enrolled device, export or open client diagnostics and map the Mode field (for example WarpWithDnsOverHttps) to the client modes matrix.
  3. Run warp-cli settings | grep protocol and compare the result with your intended MASQUE or WireGuard policy from Device tunnel protocol.
  4. Validate behavior matches the mode: in Traffic only mode, DNS should remain with the OS resolver; in Traffic and DNS mode, DNS policy tests should hit Gateway (client architecture).
  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page conflicts with the linked Cloudflare documentation or your deployment behaves differently, email yimasynthetic@gmail.com with the page URL and the exact sentence you believe is wrong so it can be corrected or clarified.