12

This is the ASN script by Mike Kuketz and maloe. It is used to block the IP address spaces of Google and other companies. Originally it was developed for IPFire. However, it also works with AFWall and iptables.

I also have a modified version for macOS pf if anyone needs it.

Terminal:

Download:

curl -O https://notabug.org/maloe/ASN_IPFire_Script/raw/master/asn_ipfire.sh
chmod +x asn_ipfire.sh

Run:

./asn_ipfire.sh --add "Google,Facebook,Twitter,Oracle,Acxiom"

If it is to be used with iptables then --iptables must be used instead of --add.

For AfWall use --afwall.

Any major company can be selected by typing in the appropriate name as shown here.

When the script is finished an output file will appear. This can then be used.

you are viewing a single comment's thread
view the rest of the comments
[-] MigratingtoLemmy@lemmy.world 1 points 1 year ago

Talking about this from a practical standpoint (because in theory avoiding these companies is a very good idea), how would one work with this? No google access = no Google services + no Internet traffic from any Google IP. Same with Microsoft and Amazon. With how much traffic that flows out from these cloud providers, one would be looking at a very limited Internet of one were to implement this.

[-] lincoln@discuss.tchncs.de 1 points 1 year ago

It depends on the use case. I have had good experience blocking Google completely. It is more difficult with Microsoft and especially Cloudflare. You can choose the companies freely, which means that it does not have to be all of them.

[-] MigratingtoLemmy@lemmy.world 2 points 1 year ago

Thanks. You're probably right, I'll try it :)

this post was submitted on 01 Jul 2023
12 points (83.3% liked)

DeGoogle Yourself

7743 readers
1 users here now

A community for those that would like to get away from Google.

Here you may post anything related to DeGoogling, why we should do it or good software alternatives!

Rules

  1. Be respectful even in disagreement

  2. No advertising unless it is very relevent and justified. Do not do this excessively.

  3. No low value posts / memes. We or you need to learn, or discuss something.

Related communities

!privacyguides@lemmy.one !privacy@lemmy.ml !privatelife@lemmy.ml !linuxphones@lemmy.ml !fossdroid@social.fossware.space !fdroid@lemmy.ml

founded 4 years ago
MODERATORS