Skip to main content

CSF Firewall Won't Block IP's

Comments

6 comments

  • quizknows
    Have you checked the contents of /etc/csf/csf.allow directly (i.e. from a shell)? It is possible there is a cidr range or something in there causing this.
    0
  • robobobo
    Yep went in there and checked as well, I do have a range specified for Cloudflare, but the ip addresses are completely different as far as I can tell
    0
  • quizknows
    This is odd; I've never seen CSF do that for IPs that are not listed in csf.allow or part of a CIDR range listed in csf.allow. Perhaps check the syntax of your cidr ranges with a tool such as [url=http://www.ipaddressguide.com/cidr]CIDR Utility Tool | IP Address Guide I'm sure you don't want to post your csf.allow file publicly, but if you want to PM it to me I can take a glance as well.
    0
  • robobobo
    I don't think I have any CIDR's anyway in the file, I PM'd you there with a copy of the file, thanks for this!
    0
  • robobobo
    We found the problem, I had inputted one of cloudlfare's IP address incorrectly!
    0
  • cPanelMichael
    I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.