CLOUD-IP // v2026.05
UPDATED 2026-05-26 PROVIDERS 24 LIVE
// CLOUDFLARE / APACHE

Cloudflare · Apache

Apache httpd Require ip directives for Cloudflare. 22 CIDRs, refreshed daily.

// apache_cloudflare_allow.conf

DOWNLOAD ↓  · 
# Cloudflare IP Ranges
# Updated: 2026-02-11 02:06:57
# Source: https://github.com/rezmoss/cloud-provider-ip-addresses
# License: https://github.com/rezmoss/cloud-provider-ip-addresses/LICENSE
# This file is generated automatically. Do not edit it directly.
# Updates daily at 00:00 UTC
# To restrict access to only these IPs in Apache,
# add the following line to your .htaccess file or your virtual host configuration file (e.g., /etc/apache2/sites-available/000-default.conf):
# Include /path/to/apache_cloudflare_allow.conf

Require ip 173.245.48.0/20
Require ip 103.21.244.0/22
Require ip 103.22.200.0/22
Require ip 103.31.4.0/22
Require ip 141.101.64.0/18
Require ip 108.162.192.0/18
Require ip 190.93.240.0/20
Require ip 188.114.96.0/20
Require ip 197.234.240.0/22
Require ip 198.41.128.0/17
Require ip 162.158.0.0/15
Require ip 104.16.0.0/13
Require ip 104.24.0.0/14
Require ip 172.64.0.0/13
Require ip 131.0.72.0/22
… (7 more lines)

// apache_cloudflare_deny.conf

DOWNLOAD ↓  · 
# Cloudflare IP Ranges
# Updated: 2026-02-11 02:06:57
# Source: https://github.com/rezmoss/cloud-provider-ip-addresses
# License: https://github.com/rezmoss/cloud-provider-ip-addresses/LICENSE
# This file is generated automatically. Do not edit it directly.
# Updates daily at 00:00 UTC
# To deny access from these IPs in Apache,
# add the following line to your .htaccess file or your virtual host configuration file (e.g., /etc/apache2/sites-available/000-default.conf):
# Include /path/to/apache_cloudflare_deny.conf

Deny from 173.245.48.0/20
Deny from 103.21.244.0/22
Deny from 103.22.200.0/22
Deny from 103.31.4.0/22
Deny from 141.101.64.0/18
Deny from 108.162.192.0/18
Deny from 190.93.240.0/20
Deny from 188.114.96.0/20
Deny from 197.234.240.0/22
Deny from 198.41.128.0/17
Deny from 162.158.0.0/15
Deny from 104.16.0.0/13
Deny from 104.24.0.0/14
Deny from 172.64.0.0/13
Deny from 131.0.72.0/22
… (8 more lines)