How to block Amazon AWS traffic

We see many times malicious traffic coming from the Amazon Web Services (AWS) network. The attackers try to connect to cPanel or WordPress. If you see such attacks on your server, it can be a good idea to block AWS…

Continue Reading How to block Amazon AWS traffic

Mautic SMTP connection refused

We had recently situations where the clients reported that they are not able to properly configure the SMTP settings in Mautic. The reported error is: Connection could not be established with host email-smtp.us-east-1.amazonaws.com :stream_socket_client(): unable to connect to tcp://email-smtp.us-east-1.amazonaws.com:25 (Connection…

Continue Reading Mautic SMTP connection refused

Block countries in cPanel

There can be many reasons for which you might want to block access from specific countries. We will not get into such details. We will present two methods that you can use. Method #1 - with cPHulk cPHulk is the…

Continue Reading Block countries in cPanel

IP/Port redirecting with csf

csf (ConfigServer Security & Firewall) offers the possibility to redirect/forward traffic from one IP/port to another IP/port. The requirements, as stated in the /etc/csf/csf.redirect file, are: Requirements:nat tablesipt_DNAT iptables moduleipt_SNAT iptables moduleipt_REDIRECT iptables module The lines listed below need to be…

Continue Reading IP/Port redirecting with csf

Internal Server Error – 500 – No response from subprocess

We unexpectedly got this error when using the ConfigServer WHM plugins. Internal Server Error500No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/configserver/cse.cgi): The subprocess reported error number 72,057,594,037,927,935 when it ended. The process dumped a core file.cpsrvd Server at web.plothost.com A screenshot of the…

Continue Reading Internal Server Error – 500 – No response from subprocess