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 1st November 2011, 11:39
macguru macguru is offline
Member
 
Join Date: May 2007
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Question Disabling Passive ftp in ProFTPd

I would like to disable passive ftp mode in proftpd:

<Limit EPSV PASV>
DenyAll
</Limit>

How I can insert this into proftpd.conf, so it will not be overwritten by ISPConfig ?


Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 2nd November 2011, 18:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

ISPConfig does not overwrite proftpd.conf.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 3rd November 2011, 16:16
macguru macguru is offline
Member
 
Join Date: May 2007
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko View Post
ISPConfig does not overwrite proftpd.conf.
I have 2 sets of proftpd.conf, one in /etc/ and 2nd in /etc/proftpd/

1st seem to be one being used.

Before upgrading to 2.2.40 everything worked fine, something went wrong after upgrade. Its not possible to connect to virtual hosts ftp anymore (even after I added "PassivePorts 49152 50152" and specified these ports in firewall).

/etc/proftpd.conf

DefaultRoot ~

Include /etc/proftpd_ispconfig.conf

PassivePorts 49152 50152


-------------------------------

/etc/proftpd_ispconfig.conf

Please note duplicate <VirtualHost xxx.xxx.xxx.xxx> entries. I have 5 virtual hosts, however.

###################################
#
# ISPConfig proftpd Configuration File
# Version 1.0
#
###################################
DefaultAddress 127.0.0.1
<VirtualHost xxx.xxx.xxx.xxx>
DefaultRoot ~
AllowOverwrite on
Umask 002
<Anonymous /srv/www/web3/ftp>
User web3_anonftp
Group web3_anonftp
UserAlias anonymous web3_anonftp
UserAlias guest web3_anonftp
MaxClients 10
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
<Directory /srv/www/web3/ftp/incoming/*>
Umask 002
<Limit STOR>
AllowAll
</Limit>
<Limit READ LIST>
DenyAll
</Limit>
</Directory>
</Anonymous>
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xxx>
DefaultRoot ~
AllowOverwrite on
Umask 002
<Anonymous /srv/www/web3/ftp>
User web3_anonftp
Group web3_anonftp
UserAlias anonymous web3_anonftp
UserAlias guest web3_anonftp
MaxClients 10
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
<Directory /srv/www/web3/ftp/incoming/*>
Umask 002
<Limit STOR>
AllowAll
</Limit>
<Limit READ LIST>
DenyAll
</Limit>
</Directory>
</Anonymous>
</VirtualHost>
Reply With Quote
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
proFTPd passive mode don't work puya4ever Server Operation 2 26th May 2010 18:10
Slow download from own FTP (vsftpd + proftpd) Overcrook Installation/Configuration 0 12th January 2010 21:41
Troubleshooting FTP bswinnerton Installation/Configuration 4 10th October 2008 19:34
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 19:38
Website users? ctroyp General 25 6th January 2006 18:02


All times are GMT +2. The time now is 08:40.


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