DDoS testing guide
Last updated Apr 17, 2026 To test Network Flow (formerly Magic Network Monitoring) in a repeatable manner, simulate a DDoS attack. At a high level, you need to:
- Select and install a trusted, open source DDoS simulation tool.
- Conduct a small DDoS test attack in a safe test environment.
Permission requirements
You need to contact Cloudflare to obtain permission before conducting a DDoS test if:
- Your property is hosted in Cloudflare.
- Internet traffic goes through Cloudflare before reaching your property.
If you are an Enterprise customer with Network Flow enabled, contact your Cloudflare Account Manager before starting DDoS testing, even if the property is not hosted in Cloudflare.
Refer to Simulating test DDoS attacks for more information.
If you need help conducting a simulated DDoS attack, fill out this form ↗︎.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/network-flow/tutorials/ddos-testing-guide/#page","headline":"DDoS testing guide","description":"Cloudflare's Network Flow can be used to test a simulated DDoS attack.","url":"https://developers.cloudflare.com/network-flow/tutorials/ddos-testing-guide/","inLanguage":"en","image":"https://developers.cloudflare.com/network-flow/tutorials/ddos-testing-guide/og.png?v=9cc77f0b7494a1bd","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: Encrypt the network flowData sent from your router to Cloudflare by routing your network traffic through a device running the Cloudflare One Client. title: Encrypt network flow data image: https://developers.cloudflare.com/network-flow/tutorials/encrypt-network-flow-data/og.png?v=56463987f2d35ef4
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/network-flow/llms.txt
Use this file to discover all available pages before exploring further.
Docs