Go Back   HostV Community - VPS Hosting Forums > HostV Support > HOW-TOs

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-15-2008, 06:47 AM
Member
 
Join Date: Dec 2007
Posts: 92
Default How do I block an IP address from my server ?

* Login to server command prompt by as root

Just consider that the attacking IP is 192.168.56.210.Type the following command.Here replace the IP with the IP you want to block.


iptables -A INPUT -s 192.168.56.210/32 -j DROP

/etc/init.d/iptables save
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:10 AM.


Powered by: vBulletin
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15