Cloudflare Network Firewall

Last updated Apr 17, 2026 Filter and block unwanted traffic at Cloudflare's global network, before it reaches your infrastructure.

Enterprise-only

Cloudflare Network Firewall (formerly Magic 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. With Cloudflare Network Firewall, you can apply filter rules on a variety of criteria, such as protocol and packet length, to filter unwanted traffic before it reaches your network.

Rules are written using the Cloudflare Rules language, which is inspired by Wireshark syntax, a widely used packet analysis filter language and the same syntax used across our other products. With this syntax, you can craft powerful rules to precisely allow or deny any traffic in or out of your network.

Cloudflare Network Firewall is available with the purchase of Magic Transit or Cloudflare WAN.


Features

Intrusion Detection System (IDS)

Actively monitor for a wide range of known threat signatures in your traffic, expanding your security coverage beyond packet-filtering rules to detect sophisticated attacks such as ransomware, data exfiltration, and network scanning.

Use Intrusion Detection System (IDS)


Cloudflare Magic Transit

Secure your network from incoming Internet traffic, and improve performance at Cloudflare scale.

Cloudflare WAN

Improve security and performance for your entire corporate networking, reducing cost and operation complexity.

Was this helpful?

YesNo

On this page

Cloudflare Network Firewall - 图1Docs

{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/cloudflare-network-firewall/#page","headline":"Cloudflare Network Firewall","description":"Filter and inspect network traffic with Cloudflare Network Firewall.","url":"https://developers.cloudflare.com/cloudflare-network-firewall/","inLanguage":"en","image":"https://developers.cloudflare.com/cloudflare-network-firewall/og.png?v=e015089d685a5cd0","dateModified":"2026-04-17","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: Compare Network Firewall features by plan. title: Plans image: https://developers.cloudflare.com/cloudflare-network-firewall/plans/og.png?v=d27a8f875b5f4ba9


Skip to content

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