CSF Blocking outgoing connections

scraane

New member
Joined
Oct 18, 2023
Messages
2
Hi all,

I have a new install on a VM. I host the VM myself on a dedicated server (OVH). The VM has its own public IP, no NAT or private network.

I have installed DA, updated everything and started to setup domains. Now im coming across two issues:

1) in DA, trying to setup the admin backup feature to a FTP server (also OVH) it will not connect. It does work when connecting from the commandline on that server. When I add the IP address of the FP server to the CSF whitelist the FP works. So, the outgoing FTP only works in DA when the IP is whitelisted in CSF. Outgoing ports in CSF are standard and include all the FTP ports. I even tried to open ALL ports (1:65365) outgoing but that didnt make a difference. I need to add the IP to CSF whitelist.

2) i have installed wordpress on a domain. Wordpress can update, can install plugins, but I have a couple of plugins that need to connect to an API to either register or do something else and they say im offline... Soo..... I tried to add 0.0.0.0/0 to the CSF whitelist and yep... It now works...

Somehow CSF is blocking my outgoing connections... Anyone any idea?
 
Search for SMTP_BLOCK in CSF configuration file and make sure that it is disabled there. If you enable SMTP_BLOCK it will block outgoing SMTP except for root, exim, and mailman (forces scripts/users to use the exim/Sendmail binary instead of sockets access)
After disabling the SMTP_BLOCK, please restart the CSF to reflect the changes
 
Thanks for that, but I already had SMTP_BLOCK disabled. Also, the plugins wont be using port 25 im guessing to access any API but rather port 80 or 443. Also FTP is of course on port 21 (and some others).
 
Back
Top