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

Added Dshield, to automatically block the top 20 malicious IP blocks each day. It is merged into blacklist which will run in cron.daily. So ipset blocks the majority of addresses from lists, and IPTables does the blocks.

This commit is contained in:
ChiefGyk
2016-06-29 18:33:09 -04:00
parent 61780b8ae7
commit 9b3a158b72
2 changed files with 63 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ CHOICE=$(dialog --clear \
clear
case $CHOICE in
1)
echo "Bombing China"
echo "Ok Mr. Trump"
echo iptables-persistent iptables-persistent/autosave_v4 boolean true | debconf-set-selections
echo iptables-persistent iptables-persistent/autosave_v6 boolean true | debconf-set-selections
cp conf/blacklist/china /etc/cron.weekly/china