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.

CSF Not Blocking Port?

Discussion in 'cPanel Developers' started by markb14391, Feb 6, 2009.

  1. markb14391

    markb14391 Well-Known Member

    Joined:
    Jun 9, 2008
    Messages:
    305
    Likes Received:
    2
    Trophy Points:
    18
    I've installed CSF, and everything seems to be configured properly. But, it still seems to be allowing access to a port (22) even though I've removed it from the TCP in and out lists. I can still SSH in through port 22 with no problem. I know, I haven't changed the port anywhere else yet (I just wanted to see if the firewall alone would allow or disallow a port). But if the port isn't in the in or out list, it should be impossible to SSH in, right?

    So this makes me wonder if I'm protected.

    Please advise.
     
  2. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Is port 22 listed in your /etc/ssh/sshd_config ?
     
  3. hydra

    hydra Well-Known Member

    Joined:
    Mar 26, 2008
    Messages:
    102
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Amsterdam, Netherlands
    Check csf.allow
    Probably your ip is in there.
     
  4. Voltar

    Voltar Well-Known Member

    Joined:
    Apr 30, 2007
    Messages:
    269
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Bakersfield, California
    If your IP is in the allowed list, it doesn't block the connections. You could try connecting from another IP, or remove your IP and reload the rules and test. If it still goes through, you might want to take a look at your config again (testing mode maybe?) and if in doubt, ask on their forums.
     
Loading...
Similar Threads - CSF Blocking Port
  1. chicagosky
    Replies:
    1
    Views:
    623

Share This Page