# Can't connect via FTP using PureFTPD

**URL:** <https://forum.hestiacp.com/t/cant-connect-via-ftp-using-pureftpd/2293>\
**Category:** FTP\
**Created:** [December 14, 2020, 10:22pm UTC](https://forum.hestiacp.com/t/cant-connect-via-ftp-using-pureftpd/2293 "2020-12-14T22:22:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GasmoN](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/gasmon/32/1071_2.png) [@GasmoN](https://forum.hestiacp.com/u/GasmoN)\
**Post date:** [December 14, 2020, 10:22pm UTC](https://forum.hestiacp.com/t/cant-connect-via-ftp-using-pureftpd/2293/1 "2020-12-14T22:22:44Z")

</div>

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 mymail@gmail.com --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](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](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.

---

<div class="post-metadata">

**Author:** ![Felix](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/felix/32/32_2.png) [@Felix](https://forum.hestiacp.com/u/Felix)\
**Post date:** [December 15, 2020, 5:54am UTC](https://forum.hestiacp.com/t/cant-connect-via-ftp-using-pureftpd/2293/2 "2020-12-15T05:54:14Z")

</div>

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`

---

<div class="post-metadata">

**Author:** ![Raphael](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/raphael/32/5217_2.png) [@Raphael](https://forum.hestiacp.com/u/Raphael)\
**Post date:** [December 15, 2020, 5:57am UTC](https://forum.hestiacp.com/t/cant-connect-via-ftp-using-pureftpd/2293/3 "2020-12-15T05:57:33Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![GasmoN](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/gasmon/32/1071_2.png) [@GasmoN](https://forum.hestiacp.com/u/GasmoN)\
**Post date:** [December 15, 2020, 12:37pm UTC](https://forum.hestiacp.com/t/cant-connect-via-ftp-using-pureftpd/2293/4 "2020-12-15T12:37:03Z")

</div>

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/](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?
