Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th June 2010, 18:52
X-admin X-admin is offline
Member
 
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
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!
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get PHP to work after ISPConfig Install alvadore Installation/Configuration 22 30th March 2008 15:57
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! qvindesland Installation/Configuration 22 21st May 2007 16:05
proftpd virtual host not working DaddyFix Installation/Configuration 6 19th April 2006 19:59
Im thinking about throwing proftpd to the trashcan danf.1979 Installation/Configuration 2 23rd December 2005 09:27
ISPConfig ProFTPD changes? ProTrooper Installation/Configuration 3 9th September 2005 18:13


All times are GMT +2. The time now is 20:39.


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