User Tools

Site Tools


google_ip_range

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
google_ip_range [2018/08/25 20:18]
kyxap [Получение диапазона IP адресов Google]
google_ip_range [2018/08/25 20:19] (current)
kyxap [Получение диапазона IP адресов Google]
Line 3: Line 3:
  
 <code bash> <code bash>
-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#'​+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#'​
 </​code>​ </​code>​
google_ip_range.txt · Last modified: 2018/08/25 20:19 by kyxap