User Tools

Site Tools


Sidebar


Tags Cloud
google_ip_range

Получение диапазона IP адресов Google

dig +short TXT _spf.google.com \
  | grep -oP "(?<=include:).+?\s" \
  | xargs dig +short TXT \
  | grep -oP "(?<=ip4:).+?\s" \
  | xargs netmask -s \
  | perl -pne 's#(.+)/(.+)#route \1 \2 vpn_gateway#'
google_ip_range.txt · Last modified: 2018/08/25 20:19 by kyxap