Thread: VPS Performance
View Single Post
Old March 14th, 2006, 11:46 AM   #9 (permalink)
McNaz
Registered User
Seasoned Poster
 
Joined in Aug 2004
76 posts
Gave thanks: 0
Thanked 0 times
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 :
**************
rootvps [~]# 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 .************************
McNaz is offline   Reply With Quote