FTP Backup not working after switching from FTP/21 to FTPS/990

Hello, I have been running backups for my remote systems over FTP using a strict NAT rule allowing incoming only from my remote systems. However some sites have dynamic IP, and since FTP is also unencrypted, I decided to switch to FTPS encrypted with TLS over port 990.

I have tested the FTPS from Filezilla - works great. I am also using this with some 3CX PBX’s and it is working fine. However FreePBX does not seem to like it. I have specified my host, port 990, Yes for TLS, and passive mode. However when I run a backup it yells:

Finished created backup file: 20220325-090507-1648213507-16.0.19-1782229846.tar.gz
Performing Local Maintenance
Finished Local Maintenance
Performing Remote Maintenance
Could not connect to host: ftp.MYDOMAIN.com, port:990
Finished Remote Maintenance
Saving to selected Filestore locations
Could not connect to host: ftp.MYDOMAIN.com, port:990
Finished Saving to selected Filestore locations
There were errors during the backup process
	Could not connect to host: ftp.MYDOMAIN.com, port:990
	Could not connect to host: ftp.MYDOMAIN.com, port:990
There were warnings during the backup process
	The module callback returned no data, No backup created
	The module callerid returned no data, No backup created
	The module calllimit returned no data, No backup created
	The module conferencespro returned no data, No backup created
	The module miscdests returned no data, No backup created
	The module phonebook returned no data, No backup created
	The module setcid returned no data, No backup created
	The module ttsengines returned no data, No backup created
Generated Backup process result email to [email protected]. Status: Failure

The target server is running VSFTPD and my config is:

listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
log_ftp_protocol=YES
dual_log_enable=YES
chroot_local_user=YES
allow_writeable_chroot=YES
chroot_list_enable=NO
#chroot_list_file=/etc/vsftpd.chroot_list
pam_service_name=ftp
pasv_enable=YES
pasv_min_port=20001
pasv_max_port=20101
port_enable=YES
pasv_address=MYDOMAIN.com
pasv_addr_resolve=YES

listen_port=990
rsa_cert_file=/etc/letsencrypt/live/MYDOMAIN.com/fullchain.pem
rsa_private_key_file=/etc/letsencrypt/live/MYDOMAIN.com/privkey.pem
ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
require_ssl_reuse=NO
ssl_ciphers=HIGH
implicit_ssl=YES
listen_ipv6=NO

Any idea on what to do? 3CX and FileZilla connect fine with ftps://ftp.MYDOMAIN.com

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.