vsftpd FTP Server 的被動模式
# vim /etc/vsftpd/vsftpd.conf
加入下面三行
pasv_enable=YES
pasv_min_port=60000
pasv_max_port=61000
重新啟動 vsftpd FTP Server
# service vsftpd restart
正在關閉 vsftpd: [ 確定 ]
正在啟動 vsftpd 中的 vsftpd: [ 確定 ]
[@more@]
修改 Pure-FTPd FTP Server 設定檔
# vim /etc/pure-ftpd/pure-ftpd.conf
找到
# PassivePortRange 30000 50000
把前面的 # 刪除即可
PassivePortRange 60000 61000
重新啟動 Pure-FTPd FTP Server
# service pure-ftpd restart
正在停止 pure-ftpd: [ 確定 ]
正在啟動 pure-ftpd: [ 確定 ]