/etc/vsftpd/vsftpd.conf |
pasv_max_port=2222 pasv_min_port=2225 |
vi /etc/sysconfig/iptables |
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT-A INPUT -p tcp -m state --state NEW -m tcp --dport 21 -j ACCEPT-A INPUT -p tcp --dport 2222:2225 -j ACCEPT |