// GOOGLE SERVICES / APACHE
Google Services · Apache
Apache httpd Require ip directives for Google Services. 340 CIDRs, refreshed daily.
// apache_googleservices_allow.conf
# Googleservices IP Ranges # Updated: 2026-07-12 03:12:28 # 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_googleservices_allow.conf Require ip 8.8.4.0/24 Require ip 8.8.8.0/24 Require ip 8.35.200.0/21 Require ip 8.230.128.0/17 Require ip 8.231.0.0/19 Require ip 8.234.0.0/23 Require ip 8.234.18.0/23 Require ip 8.234.20.0/22 Require ip 8.234.24.0/21 Require ip 8.236.0.0/15 Require ip 34.0.228.0/22 Require ip 34.0.232.0/21 Require ip 34.1.64.0/18 Require ip 34.2.64.0/21 Require ip 34.2.72.0/22 … (325 more lines)
// apache_googleservices_deny.conf
# Googleservices IP Ranges # Updated: 2026-07-12 03:12:28 # 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_googleservices_deny.conf Deny from 8.8.4.0/24 Deny from 8.8.8.0/24 Deny from 8.35.200.0/21 Deny from 8.230.128.0/17 Deny from 8.231.0.0/19 Deny from 8.234.0.0/23 Deny from 8.234.18.0/23 Deny from 8.234.20.0/22 Deny from 8.234.24.0/21 Deny from 8.236.0.0/15 Deny from 34.0.228.0/22 Deny from 34.0.232.0/21 Deny from 34.1.64.0/18 Deny from 34.2.64.0/21 Deny from 34.2.72.0/22 … (326 more lines)