View Single Post
Old 6th June 2010, 19:52
X-admin X-admin is offline
Join Date: Jun 2009
Posts: 31
Thanks: 8
Thanked 0 Times in 0 Posts
Default How to config Proftpd to work with passive mode in ISPConfig 2.2.35

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
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
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:
Comment out DefaultAddress
and i have a warning:
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 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 but i cannot figure out how to config proftpd server without make vulnerable for ISPConfig

Please help me!
Many thanks!
Reply With Quote
Sponsored Links