Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Feature Requests

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th May 2006, 23:23
whitty whitty is offline
Member
 
Join Date: May 2006
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default Custom directives automatically added to ftpd virtual hosts

First of all, Hi, I'm whitty. I'd like to say thanks so much for the great package! I'm running a small scale homebrew webserver with a dynamic IP (dyndns setup) behind a m0n0wall (nat router), which makes it tricky to run any server, let alone all the servers required for a setup like this. The community support, tutorials, and ease of use for the package in the first place has made this a 3-4 hour, google-assisted, relatively easy setup. Coming out of it, all my issues are at bay now and my server is running just dandy for my uses, and I've learned a lot (linux noob as of a few weeks ago here) to boot, so Thanks

The one thing that stands out at this point for my setup is that ftp is trickiest behind nat, where the other servers are les so, just because of the ftp communication/handshake architecture. while proftpd (in my understanding) is far friendlier for this setup, it still requires a little bit of tweaking to get perfect. First of all, I noticed that, in my case anyway, I had to do the whole /etc/pam.d/ftp deal in the fedora core 4 tutorial (here for all you googlers: try this if you can't log in, particularly for a shell user, but it fixed my ispconfig-users problems too http://www.howtoforge.com/perfect_se...dora_core_4_p5 ) (I'm running Fedora Core 5 32-bit, used the perfect install tutorial). Second, and more importantly, I had to use the

MasqueradeAddress myaccount.dyndns.org
#causes my ftp server to report the dynamic ip of it's network instead of its local ip

and
PassivePorts 60000 65535
# makes my ftp server use the port range 60000-65535 for pasv connections, the range I have forwarded

directives to get across the nat barrier. I noticed after my second install of ispconfig (cleaned it up after my initial discovery-oriented messing around), I couldnt log into ftp, and remembered this. I added the directives to the normal proftpd.conf, but after that didnt work, i realized i had to add them to the virtual servers created by ispconfig as well. this wasn't a major problem for me, but it could be for someone on their first run instead of their second or third installs. My feature request is simply to add a spot where you can add default directives to be added for the proftpd (and vsftpd if this applies) virtual hosts created by ispconfig (i think this is already included for apache's, isnt it?).
Reply With Quote
Sponsored Links
  #2  
Old 16th May 2006, 16:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,732 Times in 2,569 Posts
Default

Quote:
Originally Posted by whitty
(i think this is already included for apache's, isnt it?).
Yes, for Apache you have the Apache Directives field in ISPConfig.

However, for now you can edit the template file /root/ispconfig/isp/conf/proftpd_ispconfig.conf.master and include your proftpd directives there.
__________________
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 16th May 2006, 23:15
whitty whitty is offline
Member
 
Join Date: May 2006
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Yes, for Apache you have the Apache Directives field in ISPConfig.

However, for now you can edit the template file /root/ispconfig/isp/conf/proftpd_ispconfig.conf.master and include your proftpd directives there.
Thanks for the hint! it'd be great to have this as an automatic feature, but at least this does the trick without worry!
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
Tomcat virtual hosts daveyfx Installation/Configuration 0 1st May 2006 20:30
printing to a network printer ojs Installation/Configuration 4 24th February 2006 11:05
Duplicate virtual hosts bosei General 13 22nd December 2005 17:48
Max Virtual Hosts on a server badben Server Operation 2 21st November 2005 12:35
postfix config jmroth Installation/Configuration 6 18th September 2005 15:58


All times are GMT +2. The time now is 15:50.


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