cloud-ip-ranges:~$

CDN & Edge Network IP Ranges

Content delivery and edge networks — Cloudflare, Akamai, Fastly, Bunny, CacheFly, G-Core and QUIC.cloud.

One file, every CDN and edge network

13,879 ranges from 7 providers in a single download. Permalinks — they always return the latest data, so you can curl them from a cron job.

# Block every cdn & edge range with iptables
wget -O cdn-edge.txt 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

How this list is used

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 in this category

Provider Last change CIDRs Download formats
Akamai 10,507 txt csv json
Bunny 1,324 txt csv json
CacheFly 16 txt csv json
Cloudflare 22 txt csv json
Fastly 21 txt csv json
G-Core 1,836 txt csv json
QUIC.cloud 153 txt csv json