// AWS / APACHE
AWS · Apache
Apache httpd Require ip directives for AWS. 16,259 CIDRs, refreshed daily.
// apache_aws_allow.conf
# Aws IP Ranges # Updated: 2026-07-11 03:10:41 # 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 02: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_aws_allow.conf Require ip 1.178.1.0/24 Require ip 1.178.4.0/22 Require ip 1.178.8.0/22 Require ip 1.178.16.0/20 Require ip 1.178.64.0/23 Require ip 1.178.72.0/21 Require ip 1.178.86.0/24 Require ip 1.178.88.0/21 Require ip 1.178.100.0/22 Require ip 1.178.172.0/23 Require ip 1.178.174.0/24 Require ip 1.179.2.0/23 Require ip 1.179.14.0/23 Require ip 1.179.60.0/23 Require ip 1.179.101.0/24 … (3758 more lines)
// apache_aws_deny.conf
# Aws IP Ranges # Updated: 2026-07-11 03:10:41 # 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 02: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_aws_deny.conf Deny from 1.178.1.0/24 Deny from 1.178.4.0/22 Deny from 1.178.8.0/22 Deny from 1.178.16.0/20 Deny from 1.178.64.0/23 Deny from 1.178.72.0/21 Deny from 1.178.86.0/24 Deny from 1.178.88.0/21 Deny from 1.178.100.0/22 Deny from 1.178.172.0/23 Deny from 1.178.174.0/24 Deny from 1.179.2.0/23 Deny from 1.179.14.0/23 Deny from 1.179.60.0/23 Deny from 1.179.101.0/24 … (3759 more lines)