Users cannot FTP to the site IP, must FTP to main IP of site

Discussion in 'Installation/Configuration' started by cgreentx, Feb 17, 2008.

  1. cgreentx

    cgreentx New Member

    I followed the HowToForge document for FC8, including the final step on page 6:

    http://www.howtoforge.com/fedora-8-server-lamp-email-dns-ftp-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
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    netstat -tap | grep ftp
     
  3. cgreentx

    cgreentx New Member

    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
     
    Last edited: Feb 18, 2008
  4. falko

    falko Super Moderator Howtoforge Staff

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

Share This Page