Go to file
2021-02-04 22:19:22 -05:00
etc updated with new scripts 2021-02-04 22:19:22 -05:00
README.md updated with new scripts 2021-02-04 22:19:22 -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 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.