Can't connect via FTP using PureFTPD

Hello, I just switched from VestaCP to HestiaCP.
So, I installed HestiaCP using the following command:
NOTE: password, hostname and email that you see below are just an example. I used the real ones when I installed the panel.

bash ./hst-install.sh --nginx yes --apache no --phpfpm yes --multiphp no --mysql yes --postgresql no --vsftpd no --proftpd no --exim yes --dovecot yes --clamav no --spamassassin no --iptables yes --fail2ban yes --quota no --hostname mydomain.com --email [email protected] --port 8083 --password mypass --lang en --api yes --interactive yes

After installation, I set up SSL and everything works fine.
The next thing I have done is that I installed PureFTPD using tutorial provided on the following link:
https://www.server-world.info/en/note?os=Debian_10&p=ftp&f=3

After that, I restarted PureFTPD and created new FTP account in CP (Wep > MyDomain > Additional FTP account(s)) and when I try to connect to it, I am getting this error message https://prnt.sc/w2rfsn

My OS: Debian 10

PS: I am using CloudFlare and I am connecting via my origin IP address as a hostname.

I haven’t used Pure-FTPd so I’m just guessing here… You need to find out what ports are uses by this software and open then in Firewall.
For Pure-FTPd questions, it might be a better idea to ask at list-help [at] pureftpd.org

I would suggest to use the hestia config files for proftpd, you’ll find them here: https://github.com/hestiacp/hestiacp/tree/main/install/deb/proftpd

Replace your current configs, replace vsftpd with proftpd in $HESTIA/conf/hestia.conf and restart the proftpd service.

1 Like

I installed hestia CP without vsftpd and proftpd, and later I installed pureftpd. But I am not fan of proftpd since it’s more resource hungry than pureftpd and don’t like to use it in general.
Is there any solution to make pureftpd to work instead?\

EDIT: Okay, I found the solution but need your help to add this in iptables.
https://www.faqforge.com/linux/controlpanels/ispconfig3/how-to-set-the-passiveportrange-in-pure-ftpd-on-denian-and-ubuntu-linux/
How can I opet all those ports without having to add each rule for every port in CP?