Get started (22)·续

The workflow does not enroll the device or verify connectivity. After the Cloudflare One Client displays Connected, test connectivity as described in Connect client devices.

3. Test connectivity

From a Windows, macOS, or Linux client device, verify TCP connectivity to a Mesh node or another enrolled device. For example, test SSH:

nc -vz <MESH-IP> 22
Test-NetConnection <MESH-IP> -Port 22

Replace <MESH-IP> with the Mesh IP shown on the Mesh overview page. Replace port 22 with the port used by your service. You can test HTTP services from a mobile browser. A connected client or healthy connector status does not verify peer connectivity. Verify the application protocol you intend to use. If you turned on the ICMP Gateway proxy, you can also run ping <MESH-IP> as a diagnostic check.

Logs

Mesh traffic appears in Gateway network logs with Mesh as the Traffic Source when a Mesh node sends it, and as the Traffic Destination when it is routed to a Mesh node. Client device traffic appears under the enrolled user's identity.

For session-level detail, use Zero Trust Network Session Logs. Mesh sessions report OnrampType or Offramp as MESH, and DestinationReplicaID identifies which replica of a highly available node served the session.

Required account settings

The dashboard wizard configures the following Cloudflare One settings automatically for new deployments. Non-wizard deployments must configure the same settings:

Setting What it does
Device enrollment policy Allows devices to enroll into your Cloudflare One account using email-based one-time PIN. Only created if you do not already have an existing device enrollment policy in your account.
Device profile Creates a profile configured with Split Tunnels in Include mode, so only Mesh traffic routes through Cloudflare. This prevents disrupting existing network connectivity on your server. Only created if you do not already have an active Mesh node (formerly WARP Connector) in your account.
Allow all Cloudflare One traffic to reach enrolled devices and Assign a unique IP address to each device Enables device-to-device connectivity for Mesh networking.
Gateway proxy Enables TCP and UDP proxying for Mesh services. ICMP proxying is optional and supports diagnostics such as ping and traceroute.

For automated deployments, the device profile documentation includes API and Terraform examples. Set service_mode_v2 = { mode = "warp" }, replace the generic example's wireguard protocol with tunnel_protocol = "masque", and configure Split Tunnels to route 100.96.0.0/12 through Cloudflare. Match Mesh nodes with identity.email == "warp_connector@<TEAM_NAME>.cloudflareaccess.com", and place this profile before broader profiles. The device enrollment documentation includes the Terraform enrollment-policy flow.

Automated settings

The cloudflare_zero_trust_device_settings ↗︎ resource supports unique device IPs and the TCP and UDP Gateway proxies:

resource "cloudflare_zero_trust_device_settings" "mesh" {
    account_id                        = var.cloudflare_account_id
    use_zt_virtual_ip                 = true
    gateway_proxy_enabled             = true
    gateway_udp_proxy_enabled         = true
}

Human-only settings

The Terraform resource does not configure Allow all Cloudflare One traffic to reach enrolled devices or the ICMP Gateway proxy. Before connecting participants, turn on enrolled-device reachability in the dashboard. Turn on ICMP only if you require ping, traceroute, or another ICMP-based workflow.

Existing Cloudflare One accounts

If your account already has a Cloudflare One deployment, the setup wizard will not overwrite your existing configuration. Verify the following settings are enabled for Mesh to work:

  • Device enrollment — At least one enrollment rule must exist so that devices and nodes can register with your account.
  • Device profile for Mesh nodes — Your Mesh nodes need a device profile that routes the Mesh IP range ( 100.96.0.0/12) through Cloudflare. In Include mode, add the Mesh range. In Exclude mode, verify that no custom or legacy entry contains the Mesh range.
  • Mesh connectivity — In your device profile settings, enable Allow all Cloudflare One traffic to reach enrolled devices.
  • Unique device IPs — Enable Assign a unique IP address to each device so that each participant gets a routable Mesh IP.
  • Client mode — Mesh nodes must run in Traffic and DNS mode. DNS-only or proxy-only modes are not supported.
  • Traffic proxying — Turn on the Gateway proxy for the protocols you use. TCP and UDP carry Mesh services. ICMP supports diagnostic tools such as ping and traceroute.

Troubleshooting

  • Node shows as Offline — On the server, run warp-cli status. If the output does not show Status update: Connected:
  • Run warp-cli connect.
  • If your private network uses a firewall to restrict Internet traffic, ensure that it allows the WARP ports and IPs.
  • Review your WARP daemon logs for information about why the connection is failing.
  • Client device cannot reach Mesh IPs — Verify that your Split Tunnel configuration routes the Mesh IP range ( 100.96.0.0/12) through Cloudflare. For details, refer to Connect client devices.
  • Windows firewall blocks Mesh traffic — Windows Firewall blocks inbound traffic from 100.96.0.0/12 by default. Add a firewall rule that allows incoming requests from this range for your desired protocols and ports.

For general client issues, refer to Troubleshoot the Cloudflare One Client.

Next steps

  • Connect client devices — Platform-specific installation details, Split Tunnel configuration, and firewall considerations.
  • Run Mesh on Linux — Install a Mesh node on Debian, Ubuntu, or RHEL, with each command explained.
  • Run in Docker / Kubernetes — Deploy a Mesh node as a Docker container for Docker Compose, Kubernetes, and CI/CD pipelines.
  • Add routes — Make an entire subnet behind your node reachable (databases, printers, other servers).
  • Enable high availability — Run multiple replicas for production resilience.
  • Tips and best practices — Cloud VPC configuration, updating the client, running alongside cloudflared.

Was this helpful?

YesNo

On this page

Get started (22)·续 - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/mesh/get-started/#page","headline":"Get started","description":"Set up Cloudflare Mesh and connect your first server, laptop, or phone to your private network.","url":"https://developers.cloudflare.com/mesh/get-started/","inLanguage":"en","image":"https://developers.cloudflare.com/mesh/get-started/og.png?v=e83d28b009fffd35","dateModified":"2026-09-16","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"},"keywords":["Private networks"]}


description: Learn how Cloudflare Mesh connects participants, assigns private IPs, routes traffic, and differs from Cloudflare Tunnel. title: How Cloudflare Mesh works image: https://developers.cloudflare.com/mesh/concepts/og.png?v=c018353ab5f2cff6


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/mesh/llms.txt
Use this file to discover all available pages before exploring further.