CSF after "Reboot" All Connection refused
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.
Please sign in to leave a comment.
Comments
0 comments