Cloudflare WAN
Last updated Oct 12, 2026 Connect and secure your entire corporate network through Cloudflare, replacing MPLS circuits and hub-and-spoke routing with cloud-native networking.
Enterprise-only
Cloudflare WAN (formerly Magic WAN) connects your data centers, offices, and cloud resources through Cloudflare's global network. Instead of backhauling traffic through a central data center or maintaining dedicated MPLS circuits at every site, your traffic routes through the nearest Cloudflare data center where security policies apply inline.
Cloudflare WAN provides secure, performant routing ↗︎ for your entire corporate network. Cloudflare Network Firewall integrates with Cloudflare WAN, enabling you to enforce network firewall policies at Cloudflare's global network, across traffic from any entity within your network.
You connect your sites to Cloudflare through on-ramps — tunnels or direct connections from your network to Cloudflare. Cloudflare WAN supports any device that uses anycast GRE or IPsec tunnels. To make it easier to onboard your cloud resources, you can use Multi-Cloud Networking, which automates creating on-ramps from your cloud networks. Refer to On-ramps for a full list of supported on-ramps.
Refer to WAN transformation to compare approaches and plan your migration, or go straight to get started.
Cloudflare WAN and Cloudflare One
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 WAN supports IPsec tunnels, GRE tunnels, Cloudflare Network Interconnect, and the Cloudflare One Appliance for connecting your sites.
Cloudflare One is the full SASE (Secure Access Service Edge) platform. It extends Cloudflare WAN with identity-aware security services:
- Cloudflare One Client (WARP) — deploys on user devices to route traffic through Cloudflare with identity context.
- Cloudflare Tunnel — creates outbound-only connections from your infrastructure to Cloudflare, with no inbound ports required.
- Cloudflare Gateway — applies secure web gateway (SWG) policies to filter and inspect Internet-bound traffic.
- Cloudflare Access — enforces Zero Trust Network Access (ZTNA) policies based on user identity, device posture, and context.
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.
For more information about Cloudflare One, refer to the Cloudflare One documentation.
Features
Connect your network automatically
Use Cloudflare One Appliance to automatically connect and steer any IP traffic.
Use Cloudflare One Appliance
Set up Cloudflare WAN with your existing routers and firewalls. If you do not have Cloudflare One Appliance, start here to configure IPsec or GRE tunnels from a third-party device.
Use a third-party device
Automate resource discovery, and reduce management burden when connecting to your public cloud.
Automate your cloud on-ramps
Learn how you can use Cloudflare WAN with other Cloudflare Zero Trust products.
Integrate with other Zero Trust products
Use Border Gateway Protocol (BGP) peering between your networks and Cloudflare to automatically announce and withdraw routes as your network changes, rather than managing static routes manually.
Use BGP peering
Replace MPLS circuits and hub-and-spoke routing with cloud-native networking. Compare WAN approaches and plan an incremental migration.
Plan your migration
Understand how virtual networks provide routing isolation within your Cloudflare account, keeping traffic separated between environments, partners, or applications.
Learn about virtual networks
Related products
Cloudflare One is the full SASE platform. It extends Cloudflare WAN with identity-based access controls, secure web gateway policies, and user-level security for remote and hybrid workers.
Cloudflare Network Firewall is a firewall-as-a-service (FWaaS) that filters traffic at layers 3 and 4 across Cloudflare's global network. Included with Cloudflare WAN.
Simplify and automate cloud resource discovery, and reduce your management burden when connecting to your public cloud.
Cloudflare Network Interconnect
Cloudflare Network Interconnect (CNI) provides a private, dedicated connection between your network and Cloudflare instead of routing over the public Internet. Use CNI when you need lower latency or more consistent performance than tunnel-based connectivity.
Cloudflare Load Balancing distributes traffic across your endpoints, which reduces endpoint strain and latency and improves the experience for end users.
More resources
Reference Architecture
Explore the architecture of Cloudflare One as a SASE platform, including how Cloudflare WAN handles connectivity, routing, and security.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/cloudflare-wan/#page","headline":"Cloudflare WAN","description":"Connect and secure your network locations with Cloudflare WAN.","url":"https://developers.cloudflare.com/cloudflare-wan/","inLanguage":"en","image":"https://developers.cloudflare.com/cloudflare-wan/og.png?v=bcaa40d02612ec48","dateModified":"2026-10-12","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/"}}
description: Transform WAN traffic with header and protocol modifications. title: WAN transformation image: https://developers.cloudflare.com/cloudflare-wan/wan-transformation/og.png?v=1752e2f5ef492373
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/cloudflare-wan/llms.txt
Use this file to discover all available pages before exploring further.
Docs