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)
-   -   Users cannot FTP to the site IP, must FTP to main IP of site (http://www.howtoforge.com/forums/showthread.php?t=20492)

cgreentx 17th February 2008 21:17

Users cannot FTP to the site IP, must FTP to main IP of site
 
I followed the HowToForge document for FC8, including the final step on page 6:

http://www.howtoforge.com/fedora-8-s...p-ispconfig-p6

I have created a site on an additional IP address. When you FTP to the IP ProFTP answers, but the users cannot log in using the accounts created for them in ISPConfig. If they hit the main IP of the server their logins work properly. It's obviously easier to support my users if I tell them to FTP to the website name than to give them a separate IP/Name. Any thoughts on what I might have overlooked?

Thanks!
Chris Green

till 18th February 2008 13:19

Please post the output of:

netstat -tap | grep ftp

cgreentx 18th February 2008 14:19

tcp 0 0 *:ftp *:* LISTEN 6979/proftpd: (acce

proftpd is listening on all IP addresses, but it only accepts the ISPConfig users on the primary IP address of the box.

/root/ispconfig/isp/conf/customized_templates/proftpd_ispconfig.conf.master
###################################
#
# ISPConfig proftpd Configuration File
# Version 1.0
#
###################################

#DefaultAddress 127.0.0.1

<!-- BEGIN DYNAMIC BLOCK: vhost -->
<VirtualHost {IP}>
DefaultRoot ~
AllowOverwrite on
Umask 002
{ANON_FTP}
</VirtualHost>
<!-- END DYNAMIC BLOCK: vhost -->
Figured you would ask for this next. It is commented out in the /etc/proftpd_ispconfig.conf as expected and all the virtuals are in there as expected.
###################################
#
# ISPConfig proftpd Configuration File
# Version 1.0
#
###################################
#DefaultAddress 127.0.0.1
<VirtualHost x.x.x.20>
DefaultRoot ~
AllowOverwrite on
Umask 002
</VirtualHost>
<VirtualHost x.x.x.21>
DefaultRoot ~
AllowOverwrite on
Umask 002
</VirtualHost>
<VirtualHost x.x.x.22>
DefaultRoot ~
AllowOverwrite on
Umask 002
</VirtualHost>
Chris Green

falko 19th February 2008 14:28

What's in /etc/proftpd.conf? Any errors in your logs when you try the other IP addresses (not the main one)?


All times are GMT +2. The time now is 06:44.

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