etc | ||
README.md |
iptables
Here is my script that I use to update iptables with data.
The different files are listed in lists and are hopefully somewhat self explanatory
Anything with .list end in the zone folder will be added to the block list. This was initially used to block countries, but you can use it to block anything.
This now uses systemd. Move the systemd service and do a systemstl daemon-reload
then systemctl enable iptables --now
There may be a better way to do this, but this works for me on my servers.