Enable Cloudflare Network Firewall
Last updated Apr 23, 2026 Magic Transit customers are automatically provided with the standard features of Cloudflare Network Firewall, Cloudflare's firewall-as-a-service product.
Cloudflare recommends creating a ruleset customized to your environment and needs. Without any rules configured, Cloudflare Network Firewall will pass on all traffic after mitigations are applied to your tunnels.
The Extended ruleset is the best practice for reducing your attack surface by adopting a positive security model. If possible, use your current Edge Firewall policies to help you decide what ports to permit/block.
If you cannot use the extended ruleset, then use the minimal ruleset guidance to create a customized ruleset to block known unwanted traffic and common vectors for attack.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/learning-paths/data-center-protection/enable-network-firewall/#page","headline":"Enable Cloudflare Network Firewall","description":"Learn about enable cloudflare network firewall in this guide.","url":"https://developers.cloudflare.com/learning-paths/data-center-protection/enable-network-firewall/","inLanguage":"en","image":"https://developers.cloudflare.com/learning-paths/data-center-protection/enable-network-firewall/og.png?v=3fbfefd26d93b50d","dateModified":"2026-04-23","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: Learn about enable notifications in this guide. title: Enable Notifications image: https://developers.cloudflare.com/learning-paths/data-center-protection/enable-notifications/og.png?v=378ec8fac98350e9
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/learning-paths/llms.txt
Use this file to discover all available pages before exploring further.
Docs