fastly

Fastly publishes 24 IP ranges.

Short answer

Fastly’s public-ip-list API returns the address ranges of its edge cache nodes.

IPv4 prefixes21
IPv6 prefixes3
Sub-listsNone
Provider’s file dateNot stated in the file
Fetched by peekip5 Nov 2026
StatusFetched OK

What it’s for

Use it to limit your origin to requests that come through Fastly.

Prefixes

PrefixRegion / locationService
103.244.50.0/24—Fastly
103.245.222.0/23—Fastly
103.245.224.0/24—Fastly
104.156.80.0/20—Fastly
140.248.128.0/17—Fastly
140.248.64.0/18—Fastly
146.75.0.0/17—Fastly
151.101.0.0/16—Fastly
157.52.64.0/18—Fastly
167.82.0.0/17—Fastly
167.82.128.0/20—Fastly
167.82.160.0/20—Fastly
167.82.224.0/20—Fastly
172.111.64.0/18—Fastly
185.31.16.0/22—Fastly
199.232.0.0/16—Fastly
199.27.72.0/21—Fastly
23.235.32.0/20—Fastly
43.249.72.0/22—Fastly
90.98.0.0/17—Fastly
90.98.128.0/18—Fastly
2a04:4e40::/32—Fastly
2a04:4e42::/31—Fastly
2a04:4e44::/32—Fastly
Showing 24 of 24 prefixes All prefixes (CSV)

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

  1. Fastly: published IP ranges · checked 5 Nov 2026
  2. Fastly documentation