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.
Popularity: 2%



















































saran said,
August 6, 2007 @ 2:48 am
Hi Everybody,
i wanna block particular websites for specified ip’s only using iptables..
Then how can i block it.. Please help me…..
If any way to block that one(execpt iptables)..
Please send to me ..
My mail id is saravanaprakasht@yahoo.com