changing IPtable settings

This commit is contained in:
ChiefGyk
2016-06-29 17:54:21 -04:00
parent 10aef791d7
commit 06f4a1d55c
+1 -1
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