Download current IP ranges (CIDRs) used by the Google Services network.
Choose your preferred format. All downloads are permalinks that always provide the latest data.
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 |
# 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
# 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
# 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
# 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
# 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
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.