The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED ConfigServer Firewall Not Blocking Countries In Deny List

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

Tags:
  1. Harlequin

    Harlequin Active Member

    Joined:
    Sep 4, 2011
    Messages:
    39
    Likes Received:
    1
    Trophy Points:
    58
    Location:
    Santa Cruz de Tenerife, Spain
    cPanel Access Level:
    Reseller Owner
    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:
    542
    Likes Received:
    39
    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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,278
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  4. Harlequin

    Harlequin Active Member

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

Share This Page