// GOOGLE CLOUD / NGINX
Google Cloud · Nginx
Nginx allow/deny config for Google Cloud. Drop into your server block or http context. 967 CIDRs, refreshed daily.
// nginx_googlecloud_allow.conf
# Googlecloud IP Ranges # Updated: 2026-05-19 03:18:55 # 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 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 34.1.208.0/20; allow 34.35.0.0/16; allow 34.152.86.0/23; allow 34.177.50.0/23; allow 2600:1900:8000::/44; allow 34.80.0.0/15; allow 34.137.0.0/16; allow 34.183.71.0/24; allow 34.183.104.0/24; allow 34.184.70.0/24; allow 34.184.83.0/24; allow 35.185.128.0/19; allow 35.185.160.0/20; allow 35.187.144.0/20; allow 35.189.160.0/19; … (953 more lines)
// nginx_googlecloud_deny.conf
# Googlecloud IP Ranges # Updated: 2026-05-19 03:18:55 # 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 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 34.1.208.0/20; deny 34.35.0.0/16; deny 34.152.86.0/23; deny 34.177.50.0/23; deny 2600:1900:8000::/44; deny 34.80.0.0/15; deny 34.137.0.0/16; deny 34.183.71.0/24; deny 34.183.104.0/24; deny 34.184.70.0/24; deny 34.184.83.0/24; deny 35.185.128.0/19; deny 35.185.160.0/20; deny 35.187.144.0/20; deny 35.189.160.0/19; … (953 more lines)