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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user