MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: How to block amd unblock IP address in CSF ?  (Read 5365 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipak Bhoi

  • MilesWeb Team Member
  • Full Member
  • ***
  • Posts: 208
  • Karma: +5/-0
    • View Profile
    • MilesWeb Internet Services
How to block amd unblock IP address in CSF ?
« on: September 17, 2014, 03:22:23 PM »
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 !!
MilesWeb.com
cPanel Hosting in India - cPanel Hosting in India.

Grab an SSL for your website and SAVE 20% now. Coupon Code SSLSAVE20.

MilesWeb Hosting Forum

How to block amd unblock IP address in CSF ?
« on: September 17, 2014, 03:22:23 PM »