cloud-ip-ranges:~$

Google Services logo Google Services IP Ranges

Download current IP ranges (CIDRs) used by the Google Services network.

Provider Information

Category
VPN & Networks
Official Website
https://about.google
Total IP Ranges
362
262 IPv4 · 100 IPv6
Last Updated
Total Downloads
10

Download Options

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

IP Ranges

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

CIDR Type Tag
8.8.4.0/24 ipv4 google-services
8.8.8.0/24 ipv4 google-services
8.35.200.0/21 ipv4 google-services
8.230.128.0/17 ipv4 google-services
8.231.0.0/19 ipv4 google-services
8.234.0.0/23 ipv4 google-services
8.234.18.0/23 ipv4 google-services
8.236.0.0/15 ipv4 google-services
34.0.228.0/22 ipv4 google-services
34.0.232.0/21 ipv4 google-services
34.1.64.0/18 ipv4 google-services
34.2.64.0/21 ipv4 google-services
34.2.72.0/22 ipv4 google-services
34.2.78.0/23 ipv4 google-services
34.2.80.0/20 ipv4 google-services
34.2.112.0/20 ipv4 google-services
34.3.0.0/23 ipv4 google-services
34.3.3.0/24 ipv4 google-services
34.3.4.0/24 ipv4 google-services
34.3.8.0/21 ipv4 google-services
34.3.16.0/20 ipv4 google-services
34.3.48.0/20 ipv4 google-services
34.3.64.0/21 ipv4 google-services
34.3.72.0/22 ipv4 google-services
34.3.112.0/20 ipv4 google-services

Usage Examples - Blocking Google Services IPs

Download the IP ranges

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

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

Block with iptables (Linux firewall)

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

Block with UFW (Ubuntu/Debian firewall)

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

Block with fail2ban (intrusion prevention)

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

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

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

Block with pfSense/OPNsense (FreeBSD firewall)

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

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

About Google Services IP Ranges

These IP ranges cover the Google Services network and are updated regularly from its official source. The data includes IPv4 and IPv6 ranges. Last update was about 8 hours ago.