Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

csf.deny block ALL ips to post?

Discussion in 'Security' started by Scott Galambos, Feb 25, 2019.

  1. Scott Galambos

    Scott Galambos Well-Known Member

    Joined:
    Jul 13, 2016
    Messages:
    54
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    I want to block all incoming requests to port 22 in my /etc/csf.deny. then whitelist myself in csf.allow. How do I block all IPs?

    tcp|in|d=22|s=??? # do not delete

    s= can be empty? 0.0.0.0? what means *?
     
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    1,088
    Likes Received:
    442
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelLauren likes this.
  3. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,456
    Likes Received:
    503
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    I second @rpvw suggestion to use host access control, this is the most easily implemented way to lock down access to specific services.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice