VsFTPd Passive Mode Enable
If you don’t have already installed vsftpd on your Linux see article: How to Install vsftpd Server on CentOS.
To enable vsftpd Passive Mode in Linux edit vsftpd config file: vsftpd.conf.
Open with your favorite text editor:
# vi /etc/vsftpd/vsftpd.conf
and add next lines:
pasv_enable=Yes pasv_max_port=11100 pasv_min_port=11090
Then save changes and restart vstpd server.
Now your vsftpd server working in passive mode.
Also you need open ports 10090-10100 in your firewall to allow incoming connections:
# iptables -I INPUT -p tcp --destination-port 11090:11100 -j ACCEPT # service iptables save