Add an IP or prefix to the allowlist

Last updated Jun 30, 2026 To add an IP address or prefix to the Advanced DDoS Protection allowlist:

  1. In the Cloudflare dashboard, go to the L3/4 DDoS protection page. Go to DDoS Managed Rules ↗
  2. Go to Advanced Protection.
  3. Under General settings > Allowlist, select Edit.
  4. Enter a prefix and (optionally) a description in Prefix and Description, respectively.
  5. To exclude the current prefix from the allowlist instead of including it, uncheck the Enabled checkbox. 6. Select Add.

Allowlists support approximately 200 IP addresses in a single expression for a rule.

Important

Prefixes in the allowlist will be vulnerable to IP spoofing attacks. If an attacker can guess the source IP addresses you have allowlisted, their packets will be allowlisted.

Was this helpful?

YesNo

On this page

Add an IP or prefix to the allowlist - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/ddos-protection/advanced-ddos-systems/how-to/add-prefix-allowlist/#page","headline":"Add an IP or prefix to the allowlist","description":"Allowlist trusted IP addresses or prefixes to exclude them from Advanced DDoS Protection.","url":"https://developers.cloudflare.com/ddos-protection/advanced-ddos-systems/how-to/add-prefix-allowlist/","inLanguage":"en","image":"https://developers.cloudflare.com/ddos-protection/advanced-ddos-systems/how-to/add-prefix-allowlist/og.png?v=b9a3a83217ee1f89","dateModified":"2026-06-30","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: Create a filter to define traffic characteristics for Advanced TCP Protection rules. title: Create a filter image: https://developers.cloudflare.com/ddos-protection/advanced-ddos-systems/how-to/create-filter/og.png?v=00e601f976fd4bdc


Skip to content

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