CDN & Edge Network IP Ranges
Content delivery and edge networks — Cloudflare, Akamai, Fastly, Bunny, CacheFly, G-Core and QUIC.cloud.
13,273 ranges from 7 providers in one file, every CDN and edge network: txt csv json
# block every cdn & edge range with iptables
curl -sO https://cloud-ip-ranges.com/download/category/cdn-edge.txt
while read ip; do iptables -A INPUT -s $ip -j DROP; done < cdn-edge.txt
Two directions here. Inbound: if your site sits behind a CDN, requests should only ever reach your origin from these ranges — allowlist them at the origin firewall and drop everything else, so nobody bypasses the CDN by hitting your IP directly. Also make sure your logs read the forwarded client IP rather than the edge address, or every visitor will look like the same handful of hosts. Outbound: a request arriving from these ranges tells you which CDN fronted it, not who the visitor is.
Providers
| Provider | Last change | CIDRs | Download formats |
|---|---|---|---|
| 10,312 | txt csv json | ||
| 907 | txt csv json | ||
| 16 | txt csv json | ||
| 22 | txt csv json | ||
| 21 | txt csv json | ||
| 1,843 | txt csv json | ||
| 152 | txt csv json |
Other categories
Datacenter & Hosting, SaaS & Business APIs, AI Crawlers & Bots, Uptime Monitoring, VPN & Networks, Security Scanners, all 81 providers