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.

Exclude domain in csf firewall

Discussion in 'E-mail Discussions' started by tecwithquestion, Mar 20, 2015.

  1. tecwithquestion

    tecwithquestion Active Member

    Joined:
    Oct 20, 2014
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello

    I want to exclude few domains in csf firewall. So that failed login attempts will not create issue for their entire network.

    Can someone help me with this ?
     
  2. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    765
    Likes Received:
    20
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I'm not sure you can filter domain names in CSF, just IP addresses.
    If you wish to allow certain IP's through the firewall:

    Go to Quick Allow.
    In the green box add the IP Address.
    In the white box below it, add your reason for allowing.
    Click the Quick Allow button.

    or to deny, then quick deny button, but these will eventually fall off the end if you don't add the phrase #do not delete to the comments
     
    #2 keat63, Mar 20, 2015
    Last edited: Mar 20, 2015
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    I don't believe you can whitelist specific domain names in CSF. Please keep in mind that CSF is a third-party application. Their support forum is located at:

    http://forum.configserver.com/

    Thank you.
     
  4. MilesWeb

    MilesWeb Well-Known Member
    PartnerNOC

    Joined:
    May 23, 2012
    Messages:
    174
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    csf requires a valid IP/CIDR to be added. If you add a domain name, it will throw an error "
    add failed: [domain.com] is not a valid IP/CIDR"

    You can whitelist a subnet so that specific network range is in the allow list
     
Loading...

Share This Page