// FASTLY / APACHE
Fastly · Apache
Apache httpd Require ip directives for Fastly. 21 CIDRs, refreshed daily.
// apache_fastly_allow.conf
# Fastly IP Ranges # Updated: 2026-02-11 15:35:31 # 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_fastly_allow.conf Require ip 23.235.32.0/20 Require ip 43.249.72.0/22 Require ip 103.244.50.0/24 Require ip 103.245.222.0/23 Require ip 103.245.224.0/24 Require ip 104.156.80.0/20 Require ip 140.248.64.0/18 Require ip 140.248.128.0/17 Require ip 146.75.0.0/17 Require ip 151.101.0.0/16 Require ip 157.52.64.0/18 Require ip 167.82.0.0/17 Require ip 167.82.128.0/20 Require ip 167.82.160.0/20 Require ip 167.82.224.0/20 … (6 more lines)
// apache_fastly_deny.conf
# Fastly IP Ranges # Updated: 2026-02-11 15:35:31 # 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_fastly_deny.conf Deny from 23.235.32.0/20 Deny from 43.249.72.0/22 Deny from 103.244.50.0/24 Deny from 103.245.222.0/23 Deny from 103.245.224.0/24 Deny from 104.156.80.0/20 Deny from 140.248.64.0/18 Deny from 140.248.128.0/17 Deny from 146.75.0.0/17 Deny from 151.101.0.0/16 Deny from 157.52.64.0/18 Deny from 167.82.0.0/17 Deny from 167.82.128.0/20 Deny from 167.82.160.0/20 Deny from 167.82.224.0/20 … (7 more lines)