This will block all Google services - GMail, YouTube, Google Play, ads, tracking and so on, both good and bad. It's worth noting that any sites that depend on Google to serve their content most likely will break, or at a minimum not function properly.
It works by adding all the downloaded Google IP ranges to the routing table, which get routed to localhost..
@FuckOffGoogle Sounds great 👍 I'm already blocking Google using Cloud Firewall in Firefox but you never know which other apps are talking to them in the background.Unfortunately it doesn't seem to work on my computer 😢 Here's the result:
script set to block
running as root
check network interface connectivity
interface wlp0s19f2u2 online
ipinfo.io ping success
google ping success
downloading ip ranges to /root/AS15169
making changes to routing table
0 ip ranges processed
ping test google again
fail (google ping successful)
In order to block all Google IPs you've to use all ASN numbers - not only AS15169
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!