Created
November 23, 2025 02:42
-
-
Save comprofix/a4409ad566f56922a2a2ba3c55317456 to your computer and use it in GitHub Desktop.
Get Google IPs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -s -H "Accept: application/json" https://www.gstatic.com/ipranges/cloud.json | jq -r '.prefixes[].ipv4Prefix, .prefixes[].ipv6Prefix | select (. != null)' >> googleips | |
| curl -s -H "Accept: application/json" https://www.gstatic.com/ipranges/goog.json | jq -r '.prefixes[].ipv4Prefix, .prefixes[].ipv6Prefix | select (. != null)' > googleips |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment