cloud-ip-ranges

Google Services IP ranges

Current IP ranges (CIDRs) used by the Google Services network, updated daily.

categoryVPN & Networks
websitehttps://about.google
ranges402 (305 IPv4, 97 IPv6)
last change
downloads543
download txt csv json — permalinks, always the latest data
curl -O https://cloud-ip-ranges.com/download/google-services.txt

Ranges

Sample of 25 of 402 ranges. Download the full list above, or check 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/17 ipv4 google-services
8.236.128.0/20 ipv4 google-services
8.236.160.0/19 ipv4 google-services
8.237.128.0/17 ipv4 google-services
34.0.228.0/22 ipv4 google-services
34.0.232.0/21 ipv4 google-services
2001:4860::/32 ipv6 google-services
2404:6800::/32 ipv6 google-services
2404:f340::/32 ipv6 google-services
2600:1900::/34 ipv6 google-services
2600:1900:4100::/43 ipv6 google-services
2600:1900:4130::/44 ipv6 google-services
2600:1900:4190::/44 ipv6 google-services
2600:1900:41f0::/44 ipv6 google-services
2600:1900:4200::/41 ipv6 google-services
2600:1900:42b0::/44 ipv6 google-services
2600:1900:42d0::/44 ipv6 google-services
2600:1900:42f0::/44 ipv6 google-services

Blocking Google Services

iptables

curl -sO 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.txt

ufw

curl -sO https://cloud-ip-ranges.com/download/google-services.txt
while read ip; do
  ufw deny from $ip
  ufw deny to $ip
done < google-services.txt

fail2ban

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

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.txt
findtime = 1
bantime = -1
maxretry = 1
EOF

curl -so /tmp/google-services.txt https://cloud-ip-ranges.com/download/google-services.txt
sudo systemctl restart fail2ban

pfSense / OPNsense

curl -sO https://cloud-ip-ranges.com/download/google-services.txt
# Firewall > Aliases: new alias GOOGLE-SERVICES_BLOCK, type Network(s), import the file
# Firewall > Rules > WAN: Action=Block, Source=GOOGLE-SERVICES_BLOCK

About

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 11 hours ago.

Other providers

AirVPN, Akamai, Alibaba, Alpha Strike Labs, Amazonbot, Amzn-SearchBot, Amzn-User, Anthropic, AppleBot, Atlassian, AWS, Azure, Backblaze, Baidu, BinaryEdge, BingBot, Bunny, CacheFly, CCBot, Censys, ChatGPT-User, ClaudeBot, Cloudflare, Datadog, DigitalOcean, DuckDuckBot, Fastly, Gabia, G-Core, GitHub, Googlebot, Google Cloud, Google Public DNS, GPTBot, Hetzner, Hostway, Huawei Cloud, IBM Cloud, iCloud Private Relay, Internet Archive, IVPN, Leaseweb, Linode, Meta, Microsoft 365, Mistral, Mullvad, NHN Cloud, NordVPN, OpenAI ChatGPT, OpenAI SearchBot, Oracle Cloud, OVHcloud, OVPN.com, PerplexityBot, Perplexity-User, Pingdom, Private Internet Access, QUIC.cloud, Rackspace, Rapid7 Sonar, Salesforce, Scaleway, Shodan, StatusCake, StormWall, Stretchoid, Sucuri, Telegram, Tencent, TOR, UpCloud, UptimeRobot, Vultr, Wasabi, Windscribe, Yandex, Zoho, Zoom, Zscaler