Hi all!
I have spend much time but i dont know how to config proftpd to work with passive mode
First, i have install very well ISPConfig 2.2.35 on CentOS 5.4, creat Client/Website and creat user for FTP. This user also work well.
But, i need passive mode in proftpd, so i simply add this option into file /etc/proftpd.conf
Code:
Port 21
PassivePorts 5000 5009
and restart proftpd service [OK]
But when i retest from above FTP user, my FTP client show that, it still transfer data at random ports, especially when i click "refresh" buuton, transfer data port change to another.
Review the proftpd.conf (this file i have not made change before), i saw one line
Code:
Include /etc/proftpd_ispconfig.conf
I comment out this line and Proftpd Server work well with passive mode
But in think proftpd_ispconfig.conf is master config file for proftpd in ISPConfig, so it doesnot be change. I leave this line in proftpd.conf and make another change:
Code:
Comment out DefaultAddress 127.0.0.1
and i have a warning:
Code:
Starting proftpd: - warning: "ProFTPD" address/port (My_IPAddress:21) already in use by "ProFTPD My.hostname.server"
FTP server still work well in passive mode, but after 15-20 minutes, this line:
DefaultAddress 127.0.0.1 automatically restore to before, and my server doesnot work in passive mode any more


I have read about DefaultAddress from Till:
For all FTP connactions that connect to localhost, for example for the webFTP Program in ISPConfig and about master conf file at
http://www.howtoforge.com/perfect-server-fedora9-p6 but i cannot figure out how to config proftpd server without make vulnerable for ISPConfig
Please help me!
Many thanks!
Recent comments
4 hours 59 min ago
14 hours 27 min ago
15 hours 17 min ago
18 hours 50 min ago
23 hours 14 min ago
23 hours 36 min ago
1 day 1 hour ago
1 day 11 hours ago
1 day 16 hours ago
1 day 18 hours ago