How to block an abusive bot such as ShopWiki using iptables firewall
You can use the following shell script to block an abusive bot, such as ShopWiki,
#!/bin/sh
#/sbin/route add -host $1 reject
iptables -I INPUT -s $1 -j DROP
iptables -L -n
save this script as block_ip.sh
to block bad IP, execute the shell script:
block_ip.sh 64.92.164.138
This will block the bad guy from 64.92.164.138.