// CONSUME / OUTPUT FORMATS
11 output formats
Every provider is published in all 11 formats. Pick the one closest to your stack, drop it in, and forget about it. URLs are stable; daily updates land at the same path.
// ALL FORMATS
Plain text.txt
CIDR per line. The lowest-friction format — pipe into anything.
cloudflare_ips.txtcloudflare_ips_v4.txtcloudflare_ips_v6.txtcloudflare_ips_merged*.txtCSV.csv
Two columns: ip_address, ip_type. Open in Excel or grep --csv.
cloudflare_ips.csvJSON.json
Array of objects with ip_address + ip_type. Ideal for fetch().
cloudflare_ips.jsonSQL.sql
INSERT statements to load a table named cloud_provider_ips.
cloudflare_ips.sqlNginx.nginx
Drop-in include for an http or server block.
nginx_cloudflare_allow.confnginx_cloudflare_deny.confApache.apache
Require ip directives, wrapped in <RequireAny>.
apache_cloudflare_allow.confapache_cloudflare_deny.confiptables.iptables
Shell script of iptables commands. Run directly or wrap in a service.
iptables_cloudflare_allow.shiptables_cloudflare_deny.shnftables.nftables
nftables ruleset fragment.
nftables_cloudflare_allow.confnftables_cloudflare_deny.confUFW.ufw
Shell script using ufw allow/deny. Ubuntu and Debian-friendly.
ufw_cloudflare_allow.shufw_cloudflare_deny.shHAProxy.haproxy
ACL source list. Reference in your frontend.
haproxy_cloudflare_allow.conf// CURL ONE-LINERS
# All Cloudflare CIDRs as plain text
$ curl -s https://raw.githubusercontent.com/rezmoss/cloud-provider-ip-addresses/main/cloudflare/cloudflare_ips.txt
# GPTBot CIDRs as JSON
$ curl -s https://raw.githubusercontent.com/rezmoss/cloud-provider-ip-addresses/main/gptbot/gptbot_ips.json
# Ready-to-include nginx allow file for AWS
$ curl -s https://raw.githubusercontent.com/rezmoss/cloud-provider-ip-addresses/main/aws/nginx_aws_allow.conf -o /etc/nginx/aws-allow.conf
$ curl -s https://raw.githubusercontent.com/rezmoss/cloud-provider-ip-addresses/main/cloudflare/cloudflare_ips.txt
# GPTBot CIDRs as JSON
$ curl -s https://raw.githubusercontent.com/rezmoss/cloud-provider-ip-addresses/main/gptbot/gptbot_ips.json
# Ready-to-include nginx allow file for AWS
$ curl -s https://raw.githubusercontent.com/rezmoss/cloud-provider-ip-addresses/main/aws/nginx_aws_allow.conf -o /etc/nginx/aws-allow.conf