cloudflare

Cloudflare publishes 22 IP ranges.

Short answer

Cloudflare publishes the IPv4 and IPv6 ranges its edge network uses. A site behind Cloudflare receives every visitor’s request from one of these addresses.

IPv4 prefixes15
IPv6 prefixes7
Sub-listsNone
Provider’s file dateNot stated in the file
Fetched by peekip6 Nov 2026
StatusFetched OK

What it’s for

Use it to accept traffic only from Cloudflare at your origin server, and to restore visitor addresses from the CF-Connecting-IP header. Cloudflare’s WARP app also exits from Cloudflare’s network.

Prefixes

PrefixRegion / locationService
103.21.244.0/22—Cloudflare
103.22.200.0/22—Cloudflare
103.31.4.0/22—Cloudflare
104.16.0.0/13—Cloudflare
104.24.0.0/14—Cloudflare
108.162.192.0/18—Cloudflare
131.0.72.0/22—Cloudflare
141.101.64.0/18—Cloudflare
162.158.0.0/15—Cloudflare
172.64.0.0/13—Cloudflare
173.245.48.0/20—Cloudflare
188.114.96.0/20—Cloudflare
190.93.240.0/20—Cloudflare
197.234.240.0/22—Cloudflare
198.41.128.0/17—Cloudflare
2400:cb00::/32—Cloudflare
2405:8100::/32—Cloudflare
2405:b500::/32—Cloudflare
2606:4700::/32—Cloudflare
2803:f800::/32—Cloudflare
2a06:98c0::/29—Cloudflare
2c0f:f248::/32—Cloudflare
Showing 22 of 22 prefixes All prefixes (CSV)

What changed

No prefixes added or removed since we started tracking this list. Changes appear here the day after the provider publishes them.

Allowlist formats

nginx (first 5 prefixes)
allow 103.21.244.0/22;
allow 103.22.200.0/22;
allow 103.31.4.0/22;
allow 104.16.0.0/13;
allow 104.24.0.0/14;
deny all;
iptables (first 5 prefixes)
iptables -A INPUT -s 103.21.244.0/22 -j ACCEPT
iptables -A INPUT -s 103.22.200.0/22 -j ACCEPT
iptables -A INPUT -s 103.31.4.0/22 -j ACCEPT
iptables -A INPUT -s 104.16.0.0/13 -j ACCEPT
iptables -A INPUT -s 104.24.0.0/14 -j ACCEPT

Generate the full list from the CSV, and refresh it on a schedule: providers add and retire prefixes often.

Sources

  1. Cloudflare: published IP ranges · checked 6 Nov 2026
  2. Cloudflare documentation