1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-21 03:02:09 +00:00

changing IPtable settings

This commit is contained in:
ChiefGyk 2016-06-29 17:54:21 -04:00
parent 10aef791d7
commit 06f4a1d55c

View File

@ -29,7 +29,7 @@ echo "Adding new blocks:"
|sort -u \
|tee $blacklistf \
|grep -v '^#\|:' \
|while read IP; do iptables -I dshield 1 -s $IP -j DROP; done
|while read IP; do iptables -A dshield -p tcp -s $IP -j DROP; done