Hello Guys,
To configure passive mode in vsftp you have to add below parameters in vsftpd.conf file.
1. Login to your server via ssh over root user.
2. Open vsftp's configuration file.
Quote#vi /etc/vsftpd/vsftpd.com
3. Add following three lines into files.
Quotepasv_enable=Yes
pasv_max_port=5000
pasv_min_port=3000
4. Save and close the file. Restart the vsftpd service.
Quote#service vsftpd restart
Now you need to open this ports range into server filrewall.
If there is a APF, CSF, WHM, installed on your server then follow my post how to open ports in firewall (https://www.milesweb.com/forums/how-to%27s/how-to-open-ports-in-your-firewall/) Otherwise fire below commands.
Quote#iptables -I INPUT -p tcp --destination-port 3000:5000 -j ACCEPT
#service iptables save
Then restart the iptable service.
Quote#service iptables restart
Enjoy !!