Fastly publishes 24 IP ranges.
Short answer
Fastly’s public-ip-list API returns the address ranges of its edge cache nodes.
What it’s for
Use it to limit your origin to requests that come through Fastly.
Prefixes
What changed
- 13 Oct 2026
+ 2a04:4e42::/31 + 2a04:4e44::/32 + 90.98.0.0/17 + 90.98.128.0/18 − 2a04:4e42::/32
Allowlist formats
nginx (first 5 prefixes)
allow 103.244.50.0/24; allow 103.245.222.0/23; allow 103.245.224.0/24; allow 104.156.80.0/20; allow 140.248.128.0/17; deny all;
iptables (first 5 prefixes)
iptables -A INPUT -s 103.244.50.0/24 -j ACCEPT iptables -A INPUT -s 103.245.222.0/23 -j ACCEPT iptables -A INPUT -s 103.245.224.0/24 -j ACCEPT iptables -A INPUT -s 104.156.80.0/20 -j ACCEPT iptables -A INPUT -s 140.248.128.0/17 -j ACCEPT
Generate the full list from the CSV, and refresh it on a schedule: providers add and retire prefixes often.
Sources
- Fastly: published IP ranges · checked 5 Nov 2026
- Fastly documentation