Go to file
2021-02-04 22:21:40 -05:00
etc removed double readme 2021-02-04 22:20:27 -05:00
README.md i cant spell :-( 2021-02-04 22:21:40 -05:00

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 systemctl daemon-reload then systemctl enable iptables --now

There may be a better way to do this, but this works for me on my servers.