iptables/README.md

12 lines
525 B
Markdown
Raw Normal View History

2020-12-06 17:06:09 -05:00
# iptables
2020-12-06 17:13:05 -05:00
Here is my script that I use to update iptables with data.
2020-12-06 17:18:16 -05:00
2020-12-06 17:13:05 -05:00
The different files are listed in lists and are hopefully somewhat self explanatory
2020-12-06 17:18:16 -05:00
2020-12-06 17:17:28 -05:00
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.
2021-02-04 22:21:40 -05:00
This now uses systemd. Move the systemd service and do a ```systemctl daemon-reload``` then ```systemctl enable iptables --now```
2020-12-06 17:17:28 -05:00
2021-02-04 22:19:22 -05:00
There may be a better way to do this, but this works for me on my servers.