The tutorial was email to me by Praveen:
Quote:
**********************************
iptables -I INPUT -s 202.130.82.234 DROP
**********************************
After that you have to save the changes to the iptables using the command :
**************
root vps [~]# service iptables save
**************
The ipranges can be blocked in similar manner:
************************
iptables -I INPUT -s 202.130.82.0/24 -j DROP --> will block all IPs 202.130.82.0 to 202.130.82.255 .************************
|