2024-09-09 10:35:14 -06:00
|
|
|
# DROP Big Tech
|
|
|
|
Quick and dirty scripts to generate DROP firewall rules to block big tech networks with iptables.
|
|
|
|
|
|
|
|
|
|
|
|
# Use
|
|
|
|
HOWTO use.
|
|
|
|
|
|
|
|
Run the desired DROP script for the networks you would like to DROP or
|
|
|
|
run `DROP-all` to DROP all the networks.
|
|
|
|
|
2024-09-09 10:42:11 -06:00
|
|
|
The facebook script uses `whois` to get their networks, so that needs
|
|
|
|
to be installed.
|
|
|
|
|
|
|
|
```
|
|
|
|
sudo apt install whois
|
|
|
|
```
|
|
|
|
|
2024-09-09 10:35:14 -06:00
|
|
|
The output of the scripts get written to /tmp.
|
|
|
|
Copy them from there into your main firewall rules...
|
|
|
|
|
|
|
|
```
|
|
|
|
git clone https://code.libre.is/libre/DROP-big-tech
|
2024-09-09 10:42:48 -06:00
|
|
|
cd DROP-big-tech/
|
2024-09-09 10:40:20 -06:00
|
|
|
./DROP-amazonaws
|
|
|
|
./DROP-facebook
|
|
|
|
./DROP-google
|
|
|
|
./DROP-google-cloud
|
|
|
|
./DROP-microsoft
|
|
|
|
# Or just:
|
|
|
|
./DROP-all
|
2024-09-09 10:35:14 -06:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
# License
|
|
|
|
Apache 2.0
|
|
|
|
*Copyright © 2024, Jeff Moe.*
|