mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-27 19:37:22 +01:00
added link to original project
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
# Add Blocklist.de malicious IP Addresses to Daily Crontab
|
||||
# Also IPtables-persistent to save IP addresses upon reboot
|
||||
# Added by Alon "ChiefGyk" Ganon
|
||||
# Original project is here https://github.com/ChiefGyk/ipset-assassin
|
||||
# alonganon.info
|
||||
# alon@ganon.me
|
||||
source setup/functions.sh # load our functions
|
||||
@@ -16,4 +17,4 @@ time /etc/cron.daily/blacklist
|
||||
iptables-save > /etc/iptables.up.rules
|
||||
sed -i -e "\$apre-up ipset restore < /etc/ipset.up.rules" /etc/network/interfaces
|
||||
sed -e "\$apost up iptables-restore < /etc/iptables.up.rules" /etc/network/interfaces
|
||||
echo "Blacklist has been installed. It will run daily automatically."
|
||||
echo "Blacklist has been installed. It will run daily automatically."
|
||||
|
||||
Reference in New Issue
Block a user