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 after "Reboot" All Connection refused

Discussion in 'General Discussion' started by Micah_T, Mar 15, 2018.

Tags:
  1. Micah_T

    Micah_T Registered

    Joined:
    Sep 30, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    LA
    cPanel Access Level:
    DataCenter Provider
    Hi, I have a strange problem.

    This problem will not occur without CSF installed, Server works fine.

    CSF is running "Perfect", logs no errors, blocking attacking, can restart by running "csf -r".

    My IP is already on allow list.

    Problem start on machine "Reboot".

    After "Reboot", all port all connections will be refused. Tested from different IP.

    So I assume there is must something with CSF.

    However, of cause the regular SSH is refused, so I used pem to SSH in. It worked, and I am able to SSH in.

    The moment I SSH in, all connections start workout again(even from different IP). I didnt even have to run "csf -x" to disable it. CSF is working fine, blocking abuse connection and sending reports.

    Its so STRANGE!!!, that sounds like CSF is refusing all connections after "Reboot" until I SSH in on purpose.

    Please help, what should I looking to find out and fix this problem.

    My csf.conf is like below, only the sections I commented out.

    RESTRICT_SYSLOG = "3"
    SYSLOG_CHECK = “3600"
    IPV6 = “0"
    TCP6_IN =
    TCP6_OUT =
    FASTSTART = "0"
    SMTP_BLOCK = "1"
    SMTP_ALLOWLOCAL = "1"
    SMTP_ALLOWUSER = “cpanel,webmaster,postmaster"
    SMTP_ALLOWGROUP = "mail,mailman"
    X_ARF = "1"
    LF_TRIGGER_PERM = "3600"
    LF_FTPD_PERM = “3600"
    LF_SMTPAUTH_PERM = “3600”
    LF_EXIMSYNTAX_PERM = "3600"
    LF_POP3D_PERM = "3600"
    LF_IMAPD_PERM = “3600"
    LF_HTACCESS_PERM = "3600"
    LF_CPANEL_PERM = "3600"
    LF_APACHE_404 = “300”
    LF_APACHE_403 = "200"
    LF_DISTATTACK = “1"
    LF_DISTSMTP = “1"
    PT_LIMIT = “0"
    PT_SSHDHUNG = “1"

    Please help, what should I looking to find out and fix this problem.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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