View Single Post


Old
  Post #2 (permalink)   07-24-2005, 05:00 AM
imported_ThinkSupport
HD Newbie
 
Join Date: May 2005
Posts: 37

Status: imported_ThinkSupport is offline
If you have apf firewall installed then you can simply use the command

apf -d xx.xx.xx.xx where xx.xx.xx.xx is the ip address that you wish to block.

Alternatively you can use IPtables to block the IP as follows :

iptables -I INPUT -s xx.xx.xx.xx -j DROP where xx.xx.xx.xx is the ip address that needs to be blocked.

One more option is you can use route command to block ip addresses on a server.

I hope any of the above methods should solve your purpose
__________________
ThinkSupport Solutions - ThinkSupport.net
Thinking Of Support Solutions ? .. Think About us .. !
PH : (408) 9142 581 | AIM : ThinkingSupport | MSN : sales@thinksupport.net
24/7 Outsourced Hosting Support Solutions