---
title: Overview · Cloudflare Magic Firewall docs
description: 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 Magic 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.
lastUpdated: 2025-03-14T16:33:10.000Z
chatbotDeprioritize: false
source_url:
  html: https://developers.cloudflare.com/magic-firewall/
  md: https://developers.cloudflare.com/magic-firewall/index.md
---

Protect your cloud infrastructure or network offices with advanced, scalable firewall-as-a-service protection.

Enterprise-only

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 Magic 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.

Magic Firewall uses Wireshark syntax, a domain-specific language (DSL) common in the networking world and the same syntax used across our other products. With this syntax, you can easily craft powerful rules to precisely allow or deny any traffic in or out of your network.

Magic Firewall is available with the purchase of [Magic Transit](https://developers.cloudflare.com/magic-transit/) or [Magic WAN](https://developers.cloudflare.com/magic-wan/).

***

## Features

### Intrusion Detection System (IDS)

Actively monitor for a wide range of known threat signatures in your traffic.

[Use Intrusion Detection System (IDS)](https://developers.cloudflare.com/magic-firewall/how-to/enable-ids/)

***

## Related products

**[Cloudflare Magic Transit](https://developers.cloudflare.com/magic-transit/)**

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

**[Cloudflare Magic WAN](https://developers.cloudflare.com/magic-wan/)**

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