Skip to content
AnswerWell geo Documentation

Research · 7 min read · Answerwell

Device Profile Split Tunnel Managed Network and Precedence

How Cloudflare One device profiles choose settings, split tunnel modes, managed networks, limits, and how to fix wrong profile or routing.

This page summarises Cloudflare documentation on device profiles for the Cloudflare One Client (formerly WARP): what they control, how precedence and managed networks pick a profile, Split Tunnel modes, account limits, and how to verify settings on the device when routing or policies look wrong.

Device profiles: what settings apply to which devices

Section titled “Device profiles: what settings apply to which devices”

A device profile defines Cloudflare One Client settings for a specific set of devices in your organization. You can create multiple profiles and apply different settings based on the user’s identity, the device’s location, and other criteria.

A device profile defines Cloudflare One Client settings for a specific set of devices in your organization. You can create multiple profiles and apply different settings based on the user’s identity, the device’s location, and other criteria.

— Cloudflare, Device profiles

Global device client settings apply to every enrolled device; profile-level settings (service mode, Split Tunnels, Local Domain Fallback, permissions such as Allow updates) depend on which profile matched. Updates can take up to 10 minutes to reach clients after you save a profile.

Default profile and VPN-replacement baseline

Section titled “Default profile and VPN-replacement baseline”

New Cloudflare One accounts get a default device profile in Traffic and DNS mode. For most users replacing a VPN or securing all internet traffic, Cloudflare’s learning paths recommend tuning the Default profile under Customize device profiles or secure internet traffic: captive portal detection on, Mode switch off, Lock device client switch on, Allow device to leave organization and Allow updates off on managed fleets, Auto connect on (often 10–30 minutes), Service mode set to Traffic and DNS mode, Split Tunnels in Exclude IPs and domains, and Directly route Microsoft 365 traffic usually off so Gateway can inspect that traffic.

Device profile precedence: why the wrong profile applies

Section titled “Device profile precedence: why the wrong profile applies”

The Cloudflare One Client evaluates device profiles in a hierarchy. When a device connects, it checks profiles top to bottom as they appear in the dashboard and uses first match — once a device matches a profile, evaluation stops and no lower profile can override it.

The Cloudflare One Client evaluates device profiles dynamically based on a hierarchy. When a device connects, the client checks the profiles from top to bottom as they appear in the dashboard. The client follows the first match principle — once a device matches a profile, the client stops evaluating and no subsequent profiles can override the decision.

— Cloudflare, Cloudflare One Client troubleshooting guide

The Default profile is always at the bottom. It applies only when the device does not match any profile above it. If you promote another profile to default, its settings are copied into the Default profile.

Common reasons a device gets an unexpected profile include profile order, managed network misdetection, user group mismatch, or match rules that are too broad. To confirm what the client actually uses, compare Profile ID in warp-settings.txt (or warp-cli settings) with Profile details in the dashboard, or check Last active device profile on the device or user record per Device profiles.

Edit match rules under Zero Trust → Team & Resources → Devices → Device profiles → General profiles → Configure. Changing Service mode, Local Domain Fallback, or Split Tunnels restarts the client connection briefly. Identity-based selectors work only if the user enrolled by signing in through an identity provider (IdP). If group membership changed outside SCIM, have the user refresh identity at https://<your-team-name>.cloudflareaccess.com/cdn-cgi/access/refresh-identity (team name substituted), as described in Cloudflare One Client troubleshooting.

Split Tunnels: exclude vs include and WARP routing

Section titled “Split Tunnels: exclude vs include and WARP routing”

Split Tunnels control which traffic goes through Cloudflare Gateway and the WARP tunnel. Configure them per profile via Split Tunnels or Define Split Tunnel settings.

Mode Behavior
Exclude IPs and domains (default) All traffic is sent to Cloudflare Gateway except listed IPs and domains.
Include IPs and Domains Only listed IPs and domains use Gateway; all other traffic bypasses Gateway and is not filtered by network or HTTP policies. You may need to add Zero Trust domains manually for some features.

Exclude mode means all traffic will be sent through the WARP tunnel except for the IPs and domains you specify.

Include mode means only traffic destined to the IPs or domains you specify will be sent through the WARP tunnel.

— Cloudflare, Cloudflare One Client troubleshooting guide

You cannot set both exclude and include on one profile. Switching modes reverts route lists to defaults — copy existing entries first. After client diagnostics, cross-check dashboard Split Tunnels → Manage with Exclude mode, with hosts/ips: or Include mode, with hosts/ips: in warp-settings.txt. Mismatches may require forcing a settings refresh on the client.

When running a third-party VPN alongside Cloudflare One, use Split Tunnels in Exclude mode and add the other VPN’s private range and control-plane domains, with Service mode set to Traffic only mode, per Cloudflare One Client with legacy VPNs. For Cloudflare Mesh routes, repeat the same Split Tunnel configuration on client device profiles so advertised CIDRs traverse Cloudflare.

Managed networks: office device profile by TLS beacon

Section titled “Managed networks: office device profile by TLS beacon”

A managed network is a location you define with a TLS endpoint (for example an office). The client connects to that endpoint, validates the certificate, and can apply a device profile matched with Managed network is <name>.

The client rescans when the default route, Wi-Fi SSID, or DNS servers on the default interface change. Only one managed network should be reachable at a time; if several are reachable, which profile applies is undefined.

If the TLS check times out after 5 seconds, the client treats the device as not on a managed network and applies the default profile; timeouts do not retry. Misconfigured or unreachable endpoints often explain “wrong profile in the office.”

Host TLS on a machine inside the location, unreachable from outside. Cloudflare recommends a private IP and port in Host and Port, not a hostname, to avoid DNS resolving the wrong address. For self-signed certs, set TLS Cert SHA-256 to match openssl s_client output; compare with the dashboard value when troubleshooting per Managed networks.

Use one device profile per location even if you have multiple TLS endpoints in the same office. On Include Split Tunnel mode, do not list the TLS endpoint IP inside a broad include CIDR (for example 10.0.0.0/8 when the beacon is 10.0.0.1) or the client may exclude the whole entry from the tunnel.

Service mode: Traffic and DNS vs Local proxy

Section titled “Service mode: Traffic and DNS vs Local proxy”

Besides WARP tunnel modes, profiles set Service mode:

  • Traffic and DNS mode (default on new accounts): proxies device traffic per Split Tunnel rules.
  • Local proxy mode: requires Device tunnel protocol MASQUE; the client listens on 127.0.0.1 (default port 40000, configurable). Applications or system proxy must point at that proxy; PAC files can steer complex paths. See Client modes.

If you deploy via MDM, the configuration file’s service_mode overrides dashboard device profile settings including client mode.

Relevant account limits for device configuration:

Feature Limit
Characters per device profile expression 10,000
Combined Split Tunnel and Local Domain Fallback entries per device profile 1,000
Device IP profiles per account 30

Device IP profiles assign IPv4 from a subnet by rules; precedence is again top to bottom, first match (lowest precedence number checked first). Only newly registered devices get a new IP from a changed profile unless you delete registration and re-enroll.

To verify the Cloudflare One Client is configured correctly, Cloudflare asks you to check:

Is the wrong profile ID applied to the device? Is the wrong split tunnel configuration active on the device?

— Cloudflare, Cloudflare One Client troubleshooting guide

Wrong Profile ID: reconcile dashboard Profile ID, warp-cli settings, and diagnostic warp-settings.txt. Review list order, managed network TLS reachability and fingerprint, IdP groups, and whether match rules are precise enough.

Wrong Split Tunnel: confirm mode (Exclude vs Include) and entries in dashboard vs warp-settings.txt. Remember Include mode sends most traffic outside Gateway policies.

Settings lag: allow up to 10 minutes after Save profile before expecting changes on devices.

  1. In the Cloudflare dashboard, open Zero Trust → Team & Resources → Devices, find the device, and note Last active device profile and its Profile ID. Compare with Device profiles guidance and warp-cli settings on the device.

  2. Open the intended profile under Device profiles → General profiles, confirm Split Tunnels mode and Manage entries match warp-settings.txt from client logs per Split Tunnels.

  3. If you use managed networks, verify the TLS endpoint is reachable within 5 seconds and that TLS Cert SHA-256 matches your certificate fingerprint using Managed networks steps.

  4. Review profile list order and match rules so the first matching profile is the one you intend, following profile precedence documentation.

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page is incorrect or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about.