Cloudflare Magic Transit

Last updated Oct 6, 2026 Secure your network and improve performance at Cloudflare scale.

Enterprise-only

Magic Transit is a network security and performance solution that offers Distributed Denial of Service (DDoS) protection, traffic acceleration, and more for on-premises, cloud-hosted, and hybrid networks.

  • DDoS mitigation and protection: Instead of relying on local infrastructure that large DDoS attacks can overwhelm, Magic Transit uses the global Cloudflare Network ↗︎ to ingest and mitigate attacks close to their source.
  • Traffic acceleration: Magic Transit takes advantage of the Cloudflare global network to reduce latency and ensure that requests always have a data center nearby.

Learn more about how Magic Transit works and how to get started.


Features

Tunnel health checks

Magic Transit sends health check probes to monitor network status and the health of specific network components.

Learn about health checks

Traffic steering

Magic Transit steers traffic along tunnel routes based on priorities you define during the onboarding process.

Learn about traffic steering

Cloudflare IPs

Use Cloudflare-owned IP addresses if you want to protect a smaller network and do not meet Magic Transit's /24 prefix length requirements.

Use Cloudflare IPs

BGP peering

Use BGP peering between your networks and Cloudflare to automate adding or removing networks and subnets.

Use BGP peering


Cloudflare Network Firewall

Cloudflare Network Firewall is a firewall-as-a-service (FWaaS) delivered from the Cloudflare global network to protect office networks and cloud infrastructure with advanced, scalable protection.

Cloudflare Network Interconnect

Cloudflare Network Interconnect (CNI) allows you to connect your network infrastructure directly with Cloudflare instead of using the public Internet for a more reliable and secure experience.

DDoS Protection

Cloudflare DDoS protection secures websites, applications, and entire networks without compromising legitimate traffic performance.

Bring Your Own IP (BYOIP)

Get Cloudflare's security and performance while using your own IPs. With Bring Your Own IP (BYOIP), Cloudflare announces your IPs in all Cloudflare locations.


More resources

Data Center Protection

Follow a guided learning path to set up Magic Transit, configure DDoS protection, and go live with your network.

Reference Architecture

Deep dive into the key architecture, functionalities, and network deployment options of Cloudflare Magic Transit.

Was this helpful?

YesNo

On this page

Cloudflare Magic Transit - 图1Docs

{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/magic-transit/#page","headline":"Cloudflare Magic Transit","description":"Protect your network infrastructure from DDoS attacks with Magic Transit.","url":"https://developers.cloudflare.com/magic-transit/","inLanguage":"en","image":"https://developers.cloudflare.com/magic-transit/og.png?v=4cb7df988cef3ac3","dateModified":"2026-10-06","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: How Magic Transit protects your network with BGP and GRE/IPsec tunnels. title: About image: https://developers.cloudflare.com/magic-transit/about/og.png?v=71285e924b3941a9


Skip to content

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