// AWS / APACHE
AWS · Apache
Apache httpd Require ip directives for AWS. 15,877 CIDRs, refreshed daily.
// apache_aws_allow.conf
# Aws IP Ranges # Updated: 2026-05-26 03:19:23 # 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_aws_allow.conf Require ip 3.4.12.4/32 Require ip 3.5.140.0/22 Require ip 15.190.244.0/22 Require ip 15.230.15.29/32 Require ip 15.230.15.76/31 Require ip 15.230.221.0/24 Require ip 15.248.168.0/21 Require ip 23.254.120.0/21 Require ip 35.180.0.0/16 Require ip 51.85.0.0/16 Require ip 52.93.153.170/32 Require ip 52.93.178.234/32 Require ip 52.93.244.0/24 Require ip 52.94.76.0/22 Require ip 52.95.36.0/22 … (15862 more lines)
// apache_aws_deny.conf
# Aws IP Ranges # Updated: 2026-05-26 03:19:23 # 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_aws_deny.conf Deny from 3.4.12.4/32 Deny from 3.5.140.0/22 Deny from 15.190.244.0/22 Deny from 15.230.15.29/32 Deny from 15.230.15.76/31 Deny from 15.230.221.0/24 Deny from 15.248.168.0/21 Deny from 23.254.120.0/21 Deny from 35.180.0.0/16 Deny from 51.85.0.0/16 Deny from 52.93.153.170/32 Deny from 52.93.178.234/32 Deny from 52.93.244.0/24 Deny from 52.94.76.0/22 Deny from 52.95.36.0/22 … (15863 more lines)