if [ -f $BLACKLIST ]; then for ipaddress in $( grep -v ^# $BLACKLIST | awk '{print $1}' ); do iptables -v -A INPUT -s $ipaddress -j DROP done fi