VestaCP Passive FTP problem

As you can see title, I come accross problem with vsftpd and ftp connections. For an easy solution that worked for me, and no it is not changeing ftp server software, was to change last two lines in vsftpd.conf:

If you have Centos installed you can find config in /etc/vsftpd/vsftpd.conf and you need to change these lines to look like this:

pasv_max_port=50009
pasv_min_port=50000

 

When you do that, you also have to open your ports in firewall liek this:

vestafw

 

I houp it will work for you also.