Skip to content
AnswerWell geo Documentation

Research · 11 min read · Answerwell

WAN Site Connectivity, On-Ramps, Tunnel Deployment and Security

How enterprise WAN sites connect via on-ramps, choose tunnels or appliances, combine Zero Trust options, and apply inline security.

This page summarizes Cloudflare documentation on Cloudflare WAN (formerly Magic WAN): an Enterprise-only wide-area product that connects offices, data centers, and cloud networks through Cloudflare’s global network instead of hub-and-spoke MPLS backhaul. It explains what WAN on-ramps are, how they differ from user and application connectors, and how WAN fits beside the broader Cloudflare One SASE platform.

Cloudflare WAN: what it replaces and who it is for

Section titled “Cloudflare WAN: what it replaces and who it is for”

Cloudflare WAN is for organizations that need site-to-site connectivity and packet-level security across many locations, not only remote users or a single private app.

Connect and secure your entire corporate network through Cloudflare, replacing MPLS circuits and hub-and-spoke routing with cloud-native networking.

— Cloudflare, Cloudflare WAN

Instead of sending all traffic through a central data center, traffic enters the nearest Cloudflare data center, where routing and Cloudflare Network Firewall policies can apply inline. Sites attach through on-ramps—tunnels or direct connections from your network to Cloudflare.

Cloudflare WAN is an Enterprise-only product. Contact Cloudflare ↗︎ to acquire Cloudflare WAN. If you plan on using Cloudflare One Appliance to automatically onboard your locations to Cloudflare, you will need to purchase Cloudflare WAN first.

— Cloudflare, Get started

If you are migrating from MPLS, see WAN transformation for an incremental plan rather than treating the change as all-or-nothing.

Cloudflare WAN and Cloudflare One: when you need which

Section titled “Cloudflare WAN and Cloudflare One: when you need which”

People often confuse WAN-as-a-Service with the full SASE stack. Cloudflare documents them as layered products on the same network fabric.

Cloudflare WAN is a standalone WAN-as-a-Service (WANaaS) product. It provides site-to-site connectivity over Cloudflare’s global network, with packet-level security through Cloudflare Network Firewall.

— Cloudflare, Cloudflare WAN

Cloudflare One is the full SASE (Secure Access Service Edge) platform. It extends Cloudflare WAN with identity-aware security services: Cloudflare One Client (WARP), Cloudflare Tunnel, Cloudflare Gateway, and Cloudflare Access.

— Cloudflare, Cloudflare WAN

Need Start with Add from Cloudflare One when
Branch and DC site-to-site IP routing Cloudflare WAN (GRE, IPsec, CNI, Appliance) —
User identity and device posture on egress — Cloudflare Gateway, Cloudflare Access
Private apps without public IPs Often Cloudflare Tunnel Combine with WAN for hybrid patterns
Remote workforce devices Cloudflare One Client Works with WAN-connected sites per compatibility matrix

If your requirements are limited to site-to-site connectivity and network-layer security, Cloudflare WAN provides what you need. When you need user-level security policies, identity-based access controls, or secure Internet egress, you can add Cloudflare One capabilities to your existing deployment. Cloudflare One builds on the same network infrastructure as Cloudflare WAN, so there is no migration required.

— Cloudflare, Cloudflare WAN

Deeper integration tutorials live under Cloudflare One integration.

On-ramps and off-ramps: how traffic enters and leaves Cloudflare

Section titled “On-ramps and off-ramps: how traffic enters and leaves Cloudflare”

On-ramp and off-ramp are the vocabulary Cloudflare uses for ingress and egress through its network.

On-ramps send traffic into Cloudflare’s network. For example, a user’s device with the Cloudflare One Client installed on-ramps their traffic to Cloudflare for inspection and policy enforcement. Off-ramps send traffic from Cloudflare’s network to your infrastructure. For example, Cloudflare Tunnel off-ramps traffic to your private applications without exposing them to the public Internet.

— Cloudflare, Connectivity options

For Cloudflare WAN specifically, the On-ramps list includes:

  • Cloudflare One Appliance for automated IP steering at a site
  • GRE or IPsec on existing routers and firewalls
  • Cloudflare Network Interconnect (CNI) for private peering instead of the public Internet
  • Cloudflare Tunnel, WARP, and Multi-Cloud Networking as complementary paths

Cloudflare WAN on-ramps traffic via your connections and can send all network and HTTP traffic through Cloudflare Gateway for inspection.

— Cloudflare, Choose an on-ramp

Connectivity options compared (WAN-relevant rows)

Section titled “Connectivity options compared (WAN-relevant rows)”

The full matrix is on Connectivity options. These rows matter most for corporate WAN design:

Connectivity option Protocol Direction Typical use when
GRE tunnels GRE Bidirectional Sites with existing network hardware
IPsec tunnels IPsec Bidirectional Encrypted site connectivity over the Internet
Cloudflare One Appliance IPsec Bidirectional Zero-touch branch deployments
Cloudflare Network Interconnect Direct, Partner, Cloud Bidirectional Bypassing the public Internet
Multi-Cloud Networking IPsec (automated) Bidirectional Cloud VPCs with automated tunnel setup
Cloudflare Tunnel HTTP/2, QUIC Off-ramp only Private apps without a public IP
Cloudflare One Client MASQUE (default), WireGuard Bidirectional Securing remote workforce devices
Section titled “Requirements mapped to recommended on-ramps”

From Connectivity options (Table 4):

Requirement Recommended option
Connect a branch office using existing routers GRE or IPsec tunnels
Encrypt traffic over the public Internet IPsec tunnels
Zero-touch branch office deployment Cloudflare One Appliance
Connect cloud VPCs (AWS, Azure, GCP) with minimal configuration Multi-Cloud Networking
Bypass the public Internet entirely Cloudflare Network Interconnect
High-throughput enterprise connectivity Cloudflare One Appliance or CNI

Network teams often start with Cloudflare WAN (IPsec/GRE) or Cloudflare One Appliance; security-led projects may start with Tunnel plus the Cloudflare One Client before backfilling site tunnels.

How to connect a site: Appliance versus third-party tunnels

Section titled “How to connect a site: Appliance versus third-party tunnels”

Get started describes two setup paths: automatic (preferred) via Appliance, or manual with your own CPE.

Cloudflare One Appliance: zero-touch site on-ramp

Section titled “Cloudflare One Appliance: zero-touch site on-ramp”

The Appliance (formerly Magic WAN Connector) is a hardware or virtual edge device that provisions IPsec to Cloudflare and steers traffic.

Cloudflare One Appliance (formerly Magic WAN Connector) is a physical, or virtual (deployed as a VM on a hypervisor) device which, using Zero Touch Provisioning ↗︎, automatically on-ramps traffic for a local network to Cloudflare, and replaces existing, difficult to manage edge hardware.

— Cloudflare, Cloudflare One Appliance deployment options

Cloudflare One Appliance requires a Cloudflare WAN subscription and dedicated hardware or VM (cannot run alongside other software on the same host).

— Cloudflare, Connectivity options

Each configured WAN interface creates at least one IPsec tunnel; with multiple anycast leased IPs, the Appliance can create up to two tunnels per WAN port for reliability (Appliance reference). Multiple WAN links support priority-based steering or ECMP when priorities are equal, plus failover based on circuit health.

Where to place the Appliance relative to existing CPE

Section titled “Where to place the Appliance relative to existing CPE”

Cloudflare One Appliance deployment options describes three common topologies:

  1. Replacing the CPE when the edge device adds little value (for example MPLS transition to Internet-only sites).
  2. North of the CPE when you keep a firewall for defense-in-depth or Layer 7 segmentation the Appliance does not provide (Appliance segmentation is Layer 3–4 only).
  3. South of the CPE when the ISP requires specific hardware (PPPoE, ONT, managed CPE) or the CPE cannot yet be removed.

Hybrid local Internet breakout (LIBO) while MPLS carries private traffic is another documented pattern: default route Internet-bound traffic to the Appliance while RFC1918 ranges stay on MPLS until you modernize further.

Manual GRE and IPsec from routers or firewalls

Section titled “Manual GRE and IPsec from routers or firewalls”

Manual setup uses the dashboard or API plus compatible tunnel endpoints.

You can use GRE or IPsec tunnels to onboard your traffic to Cloudflare WAN, and set them up through the Cloudflare dashboard or the API. If you use the API, you need your account ID and API key.

— Cloudflare, Configure tunnel endpoints

Before IPsec configuration, obtain your account’s IPv4 anycast address under Address Space → Leased IPs (Fortinet integration documents the same prerequisite).

Tunnel endpoint devices should:

  • Allow at least one tunnel per ISP
  • Support MSS clamping
  • Meet IPsec parameters in Cloudflare’s IPsec tunnel documentation

Device compatibility lists example vendors (Cisco IOS XE, Fortinet, Palo Alto, cloud VPN gateways, and others) that support GRE and/or IPsec per Cloudflare’s parameters.

Software on-ramp for VPN replacement at the host

Section titled “Software on-ramp for VPN replacement at the host”

For VPN replacement at the application or small-site level—not full WAN CPE—Choose a connection method contrasts Cloudflare Mesh and Cloudflare Tunnel: both use lightweight software on a host to reach Cloudflare’s network.

Multi-Cloud Networking automates IPsec on-ramps from public cloud VPCs (On-ramps). After creating cloud on-ramps, you must update cloud security groups to permit traffic to and from Cloudflare WAN (Configure cloud on-ramps).

When Cloudflare services initiate traffic into your network (off-ramp), source addressing depends on the connector:

The following connectors will receive traffic from the cloudflare_source subnet when a Cloudflare service initiates a request to the connected network or endpoint as an offramp: Anycast tunnels: GRE, IPsec, and CNI; Software connectors: Cloudflare One Client and Cloudflare Mesh. Networks or endpoints connected via Cloudflare Tunnel will not receive traffic from the Cloudflare source IP subnet. Instead, the source IP address will be that of the host running the cloudflared software.

— Cloudflare, Configure Cloudflare source IPs

Plan firewall rules and logging accordingly if you mix Tunnel with WAN tunnels.

Bandwidth measurement and what counts toward WAN usage

Section titled “Bandwidth measurement and what counts toward WAN usage”

Billing and capacity views use a 95th percentile model across WAN tunnels, not raw peak everywhere.

Cloudflare measures Cloudflare WAN (formerly Magic WAN) usage based on the 95th percentile of bandwidth utilized by your configured network.

— Cloudflare, Bandwidth measurement

Included traffic types:

  • GRE, IPsec, Cloudflare Tunnel, and CNI in the Cloudflare WAN namespace
  • Per tunnel, Cloudflare uses the higher of ingress or egress 95th percentile

Excluded: Cloudflare One Client traffic is not counted in this WAN bandwidth measurement—important when sizing WAN commits versus remote user traffic.

Combining WAN with other Cloudflare One connectors

Section titled “Combining WAN with other Cloudflare One connectors”

Most enterprises use multiple connectivity options (Connectivity options). Design rules that prevent outages:

Combination Compatible Notes
Cloudflare Tunnel + Cloudflare WAN Yes Avoid overlapping CIDRs; Tunnel wins if the same range is configured for both
Cloudflare One Client + Cloudflare WAN Yes Client users can reach WAN sites; WAN sites can reach Client virtual IPs
Cloudflare Mesh + Cloudflare WAN Conditional Needs Cloudflare One Unified Routing; Legacy routing cannot use both
CNI + GRE or IPsec Yes Internet tunnels as backup to CNI
CNI + Cloudflare Tunnel Conditional Tunnel redundancy may be reduced if CNI advertises one region

No automatic failover: Cloudflare does not automatically fail over traffic between different connectivity options. Plan your routing to handle failures within each tunnel type.

— Cloudflare, Connectivity options

Use Virtual Networks when multiple environments reuse the same private ranges (for example several 10.0.0.0/8 VPCs).

A common enterprise pattern from the same page: Cloudflare One Client for remote staff, IPsec via WAN for branches, and Cloudflare Tunnel for selected internal web apps.

Secure WAN traffic: which services apply where

Section titled “Secure WAN traffic: which services apply where”

Once traffic is on-ramped through WAN tunnels, CNI, or Appliance, security runs inline at the nearest data center without per-site appliances.

A key benefit of routing your network traffic through Cloudflare is that you can apply security policies without deploying additional hardware at each site.

— Cloudflare, Secure WAN traffic

Cloudflare WAN carries three traffic classes (Secure WAN traffic):

Traffic class Example Typical controls
Outbound (site-to-Internet) Branch users browsing or using SaaS Gateway DNS/HTTP policies, DLP, Browser Isolation
East-west (site-to-site) Branch to data center apps Network Firewall between sites
Inbound (Internet-to-site) Traffic to your announced prefixes Network Firewall + Magic Transit for DDoS scenarios

Traffic steering separates WAN routes (IPsec, GRE, CNI) from Zero Trust routes (Tunnel, Mesh)—routing mode affects which paths can coexist.

Common mistakes when designing WAN on-ramps

Section titled “Common mistakes when designing WAN on-ramps”
  • Overlapping CIDRs across Tunnel and WAN, then wondering why Tunnel always wins.
  • Expecting cross-connector failover without explicit routing design per tunnel type.
  • Enabling WARP on LAN devices behind WAN without profile splits for Mesh IP space.
  • Forgetting MSS clamping or per-ISP tunnel limits on CPE that fails only under load.
  • Cloud security groups left unchanged after Multi-Cloud Networking on-ramps.
  • Treating Cloudflare WAN bandwidth metrics as including all Cloudflare One Client user traffic (Bandwidth measurement).
  • Mesh + WAN on Legacy routing instead of Unified Routing (Connectivity options).

Operational tasks such as adding on-ramps to a site appear under Set up a site (Cloudflare One → Insights → Network visibility). Tunnel health checks and alerts are covered in Common settings.

  1. Confirm Cloudflare WAN is enabled on your account and leased anycast IPv4 space appears under Address Space (as in Ubiquiti prerequisites).

  2. In the Cloudflare WAN dashboard, verify each site’s on-ramps show healthy tunnels after setup (Ubiquiti next steps; see Common settings for health check configuration).

  3. From a WAN-connected site, test reachability to another site (east-west) and to a public destination (outbound), matching the traffic types in Secure WAN traffic.

  4. If you use cloud VPC on-ramps, confirm provider security groups allow Cloudflare WAN traffic per Configure cloud on-ramps.

  5. For combined Tunnel + WAN deployments, audit that no duplicate CIDRs are advertised and document which path should win (Connectivity options).

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

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about, and we will correct or clarify it.