cloud-ip-ranges:~$

Google Cloud logo Google Cloud IP Ranges

Download current IP ranges (CIDRs) used by the Google Cloud infrastructure.

Provider Information

Official Website
https://cloud.google.com
Total IP Ranges
1,104
1,007 IPv4 · 97 IPv6
Last Updated
Total Downloads
4,353

Download Options

Choose your preferred format. All downloads are permalinks that always provide the latest data.

IP Ranges

First 25 of 1,104 ranges. Download the full list above, or search for a specific IP.

CIDR Type Region Tag
8.34.208.0/23 ipv4 europe-west1 Google Cloud
8.34.210.0/24 ipv4 us-central1 Google Cloud
8.34.211.0/24 ipv4 europe-west1 Google Cloud
8.34.212.0/22 ipv4 us-central1 Google Cloud
8.34.216.0/22 ipv4 us-central1 Google Cloud
8.34.220.0/22 ipv4 europe-west1 Google Cloud
8.35.192.0/21 ipv4 us-central1 Google Cloud
8.228.0.0/19 ipv4 us-west4 Google Cloud
8.228.32.0/19 ipv4 europe-west2 Google Cloud
8.228.64.0/18 ipv4 us-east4 Google Cloud
8.228.128.0/18 ipv4 asia-northeast3 Google Cloud
8.228.192.0/19 ipv4 me-central2 Google Cloud
8.228.224.0/20 ipv4 global Google Cloud
8.228.240.0/21 ipv4 us-west3 Google Cloud
8.228.248.0/21 ipv4 us-west1 Google Cloud
8.229.0.0/16 ipv4 us-west1 Google Cloud
8.230.0.0/19 ipv4 asia-northeast3 Google Cloud
8.230.32.0/19 ipv4 me-west1 Google Cloud
8.230.64.0/19 ipv4 me-central2 Google Cloud
8.230.96.0/19 ipv4 us-south1 Google Cloud
8.231.32.0/20 ipv4 us-east5 Google Cloud
8.231.48.0/20 ipv4 us-west1 Google Cloud
8.231.64.0/18 ipv4 asia-south1 Google Cloud
8.231.128.0/17 ipv4 us-west1 Google Cloud
8.232.0.0/15 ipv4 global Google Cloud

Usage Examples - Blocking Google Cloud IPs

Download the IP ranges

# Download with curl
curl -O https://cloud-ip-ranges.com/download/google-cloud.txt

# Or download with wget
wget https://cloud-ip-ranges.com/download/google-cloud.txt

Block with iptables (Linux firewall)

# Download and block Google Cloud IPs with iptables
wget -O google-cloud_ips.txt https://cloud-ip-ranges.com/download/google-cloud.txt
while read ip; do
  iptables -A INPUT -s $ip -j DROP
  iptables -A OUTPUT -d $ip -j DROP
done < google-cloud_ips.txt

Block with UFW (Ubuntu/Debian firewall)

# Download and block Google Cloud IPs with UFW
wget -O google-cloud_ips.txt https://cloud-ip-ranges.com/download/google-cloud.txt
while read ip; do
  ufw deny from $ip
  ufw deny to $ip
done < google-cloud_ips.txt

Block with fail2ban (intrusion prevention)

# Create fail2ban filter for Google Cloud
sudo tee /etc/fail2ban/filter.d/google-cloud-block.conf << EOF
[Definition]
failregex = ^.*$
ignoreregex =
EOF

# Create jail configuration
sudo tee /etc/fail2ban/jail.d/google-cloud-block.conf << EOF
[google-cloud-block]
enabled = true
filter = google-cloud-block
action = iptables-allports[name=google-cloud]
logpath = /tmp/google-cloud_ips.txt
findtime = 1
bantime = -1
maxretry = 1
EOF

# Download IP list and restart fail2ban
wget -O /tmp/google-cloud_ips.txt https://cloud-ip-ranges.com/download/google-cloud.txt
sudo systemctl restart fail2ban

Block with pfSense/OPNsense (FreeBSD firewall)

# Create alias table for Google Cloud IPs
# 1. Download the IP list
wget -O google-cloud_ips.txt https://cloud-ip-ranges.com/download/google-cloud.txt

# 2. In pfSense/OPNsense web interface:
# - Go to Firewall > Aliases
# - Create new alias named "GOOGLE-CLOUD_BLOCK"
# - Type: Network(s)
# - Import the downloaded file
#
# 3. Create firewall rule:
# - Go to Firewall > Rules > WAN
# - Add rule: Action=Block, Source=GOOGLE-CLOUD_BLOCK

About Google Cloud IP Ranges

These IP ranges are sourced directly from Google Cloud's official feeds and are updated regularly to ensure accuracy. The data includes IPv4 and IPv6 ranges used by Google Cloud's infrastructure worldwide. Last update was about 3 hours ago.