// APPLE PRIVATE RELAY / APACHE
Apple Private Relay · Apache
Apache httpd Require ip directives for Apple Private Relay. 286,912 CIDRs, refreshed daily.
// apache_apple_private_relay_allow.conf
# Apple_private_relay IP Ranges # Updated: 2026-05-25 03:22:11 # 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_apple_private_relay_allow.conf Require ip 172.224.226.0/27 Require ip 172.224.226.32/31 Require ip 172.224.226.34/31 Require ip 172.224.226.36/31 Require ip 172.224.226.38/31 Require ip 172.224.226.40/31 Require ip 172.224.226.42/31 Require ip 172.224.226.44/31 Require ip 172.224.226.46/31 Require ip 172.224.226.48/31 Require ip 172.224.226.50/31 Require ip 172.224.226.52/31 Require ip 172.224.226.54/31 Require ip 172.224.226.56/31 Require ip 172.224.226.58/31 … (286897 more lines)
// apache_apple_private_relay_deny.conf
# Apple_private_relay IP Ranges # Updated: 2026-05-25 03:22:11 # 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_apple_private_relay_deny.conf Deny from 172.224.226.0/27 Deny from 172.224.226.32/31 Deny from 172.224.226.34/31 Deny from 172.224.226.36/31 Deny from 172.224.226.38/31 Deny from 172.224.226.40/31 Deny from 172.224.226.42/31 Deny from 172.224.226.44/31 Deny from 172.224.226.46/31 Deny from 172.224.226.48/31 Deny from 172.224.226.50/31 Deny from 172.224.226.52/31 Deny from 172.224.226.54/31 Deny from 172.224.226.56/31 Deny from 172.224.226.58/31 … (286898 more lines)