Results 1 to 4 of 4

Thread: CSF firewall CC_DENY / CC_ALLOW problem

  1. #1
    Join Date
    Feb 2018
    Posts
    12

    CSF firewall CC_DENY / CC_ALLOW problem

    hello,
    I am trying try to block all countries to make a traffic to port 22 expect Turkey..
    but in csf firewall CC_DENY, CC_ALLOW,CC_DENY_PORTS,CC_ALLOW_PORTS not working and dose't do anything no effect at all ..

    my settings is:

    CC_ALLOW = ""
    CC_ALLOW_PORTS = "TR"
    CC_ALLOW_PORTS_TCP = "22"
    CC_ALLOW_PORTS_UDP = "22"

    CC_DENY = ""
    CC_DENY_PORTS = ""
    CC_DENY_PORTS_TCP = ""
    CC_DENY_PORTS_UDP = ""

    Is there a solution for this problem ..

  2. #2
    Join Date
    Apr 2013
    Posts
    81
    Did you restart CSF after making the changes?

    Also, did you enable CC_LOOKUPS in the firewall?
    https://www.24x7servermanagement.com/
    Server Management, Server Security, Server Monitoring.
    India's Leading Managed Service Provider !!

  3. #3
    Join Date
    Jul 2008
    Location
    Maastricht
    Posts
    3,292
    Did you remove port 22 from the original "TCP_IN= " to create the restriction?
    You need to do that.
    After that, restart CSF and LFD and your configuration for port 22 should work if all is correct.
    Greetings, Richard.

  4. #4
    Join Date
    Feb 2018
    Posts
    12
    Quote Originally Posted by Richard G View Post
    Did you remove port 22 from the original "TCP_IN= " to create the restriction?
    You need to do that.
    After that, restart CSF and LFD and your configuration for port 22 should work if all is correct.

    thanks this soluation is work very well

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •