// GOOGLE CLOUD / NGINX
Google Cloud · Nginx
Nginx allow/deny config for Google Cloud. Drop into your server block or http context. 1,039 CIDRs, refreshed daily.
// nginx_googlecloud_allow.conf
# Googlecloud IP Ranges # Updated: 2026-07-01 03:19:43 # 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 nginx, # add the following line to your server block in your nginx configuration file (e.g., /etc/nginx/nginx.conf or /etc/nginx/sites-available/default): # include /path/to/nginx_googlecloud_allow.conf; allow 8.34.208.0/20; allow 8.35.192.0/21; allow 8.228.0.0/15; allow 8.230.0.0/17; allow 8.231.32.0/19; allow 8.231.64.0/18; allow 8.231.128.0/17; allow 8.232.0.0/15; allow 8.234.2.0/23; allow 8.234.4.0/22; allow 8.234.8.0/21; allow 8.234.16.0/23; allow 8.234.32.0/19; allow 8.234.64.0/18; allow 8.234.128.0/17; … (441 more lines)
// nginx_googlecloud_deny.conf
# Googlecloud IP Ranges # Updated: 2026-07-01 03:19:43 # 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 nginx, # add the following line to your server block in your nginx configuration file (e.g., /etc/nginx/nginx.conf or /etc/nginx/sites-available/default): # include /path/to/nginx_googlecloud_deny.conf; deny 8.34.208.0/20; deny 8.35.192.0/21; deny 8.228.0.0/15; deny 8.230.0.0/17; deny 8.231.32.0/19; deny 8.231.64.0/18; deny 8.231.128.0/17; deny 8.232.0.0/15; deny 8.234.2.0/23; deny 8.234.4.0/22; deny 8.234.8.0/21; deny 8.234.16.0/23; deny 8.234.32.0/19; deny 8.234.64.0/18; deny 8.234.128.0/17; … (441 more lines)