1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-27 19:37:22 +01:00

added optional geoblock lists that update weekly for China, and Korea as they create a lot of spam. They are added via IPtables as they are added in blocks.

This commit is contained in:
ChiefGyk
2016-06-29 15:39:41 -04:00
parent 8efe6c933f
commit 61780b8ae7
5 changed files with 78 additions and 1 deletions

7
conf/blacklist/sinokorea Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
curl http://www.okean.com/antispam/iptables/rc.firewall.sinokorea > /tmp/sinokorea.sh
chmod +x /tmp/sinokorea.sh
source /tmp/sinokorea.sh
rm -f /tmp/sinokorea.sh
ipset save > /etc/ipset.up.rules
iptables-save > /etc/iptables.up.rules