Skip to content

Instantly share code, notes, and snippets.

@rogueresistor
rogueresistor / gcpips.sh
Created Mar 5, 2020
List all of the GCP IP ranges
View gcpips.sh
#!/bin/sh
# This is modified from the script posted at
# https://cloud.google.com/compute/docs/faq#where_can_i_find_product_name_short_ip_ranges,
# this will also show the IPv6 ranges that are returned
set -- $(dig -t txt +short _cloud-netblocks.googleusercontent.com)
included="" ip4=""
while [ $# -gt 0 ]; do
View keybase.md

Keybase proof

I hereby claim:

  • I am rogueresistor on github.
  • I am rogueresistor (https://keybase.io/rogueresistor) on keybase.
  • I have a public key ASC2gnfWRj13B-iSP7mj94YJBFZgOr7w1igETESVK4Uefwo

To claim this, I am signing this object: