Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED ConfigServer Firewall Not Blocking Countries In Deny List

Discussion in 'Security' started by Harlequin, Apr 5, 2017.

Tags:
  1. Harlequin

    Harlequin Well-Known Member

    Joined:
    Sep 4, 2011
    Messages:
    45
    Likes Received:
    1
    Trophy Points:
    58
    Location:
    Santa Cruz de Tenerife, Spain
    cPanel Access Level:
    Root Administrator
    Twitter:
    I have the following in ConfigServer Security & Firewall:
    CC_DENY = "CH,RU,VN,AR,TR,LV,BY,JP,EC,MY,TW,KR"

    But yet I'm still getting brute force attempts from China and other countries specified in this list:
    blocked 114.252.124.236 (CN/China/-)

    Am I missing something...?
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    43
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    You have to add country code "CN" for china and "IN" for India. After that restart the csf firewall.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Harlequin

    Harlequin Well-Known Member

    Joined:
    Sep 4, 2011
    Messages:
    45
    Likes Received:
    1
    Trophy Points:
    58
    Location:
    Santa Cruz de Tenerife, Spain
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thanks guys, I thought I'd nailed it but clearly didn't see the wood for the trees.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice