Hi Meeti,
Refer this link for more details on CSF [the best firewall] :
ConfigServer Security & Firewall Released
CSF works like a charm on all of our VPS & Dedicated servers, you get too many configuration options for setting up the firewall properly.
To block a particular IP/subnet use this command from the SSH console :
Quote:
|
iptables -I INPUT -s 124.115.0.0/16 -j DROP
|