Skip to main content

IP Blocker white listing

Comments

3 comments

  • keat63
    CSF firewall will achieve this. However, what are you trying to achieve, as blocking all other countries will break email for a start. If you are trying to maybe tighten up access to services, then CPHULK has this feature built in also. cPHulk provides protection from brute force attacks against your web services.
    0
  • bcadej
    .htaccess file blocks just the traffic that Apache handles, which is not email, FTP, ... I would like to do this by .htaccess file (some web hosting providers don't allow access to cPHulk for everybody).
    0
  • cPanelLauren
    Hi @bcadej This would be a rather intensive allow from directive in the .htaccess. You'd need allow from specific countries IP ranges which means you'd need to know them then deny from ALL Similar to: order deny,allow deny from all allow from
    0

Please sign in to leave a comment.