From af499a1c2e764b4e348411b2c031fb4f2dcab3e2 Mon Sep 17 00:00:00 2001 From: Nick Leffler Date: Thu, 4 Feb 2021 22:20:27 -0500 Subject: [PATCH] removed double readme --- etc/iptables/README.md | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 etc/iptables/README.md diff --git a/etc/iptables/README.md b/etc/iptables/README.md deleted file mode 100644 index 42b4043..0000000 --- a/etc/iptables/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# 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. - -Add ```update.sh``` in your cron - -Load iptables and ipset rules however you please on start up - -This is done by the following. Some of my servers have it in ```/etc/rc.local``` others have it in ```/etc/network/interface``` as post-up script - -```iptables-restore < /path/to/iptables.save``` - -```ipset restore < /path/to/ipset.save``` - -There may be a better way to do this, but this works for me on some servers.