HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   How to config Proftpd to work with passive mode in ISPConfig 2.2.35 (http://www.howtoforge.com/forums/showthread.php?t=46381)

X-admin 6th June 2010 18:52

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
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 :mad::confused::confused:

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!


All times are GMT +2. The time now is 00:27.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.