Hello Guys,
On your server if you have installed CSF (ConfigServer Security & Firewall) and if you wish to block/unblock IP address in CSF then you are on correct place.
Block IP address in CSF :-Blocking IP address in CSF will block the all services for the IP which you blocked on server. Like as, he will not able to browse websites, email accounts, cPanel accounts, etc. Below is a command to block IP on server.
Quote#csf -d 192.168.1.0
Unblock IP address in CSF :-If your IP has blocked on server mistakenly ( by putting incorrect password ) and want to unblock the IP then run below command and it will unblock your IP. Or you can ask your hosting provider to unblock your IP address.
Quote#csf -dr 192.168.1.0
Note :- Blocking IP by CSF block all services, even you are not able to your website. But IP blocked by Cphulk only block your cPanel account access, root access, FTP and webmail access, you can browse your website.
Enjoy !!