Find the answer to your Linux question:
Results 1 to 4 of 4
I'm using ProFTPd 1.2.10 on RedHat FC2. I have the computer set up as an HTTP, mail, and FTP server. I have no problems whatsoever when I try to log ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Posts
    8

    ProFTPd Config Problem


    I'm using ProFTPd 1.2.10 on RedHat FC2. I have the computer set up as an HTTP, mail, and FTP server. I have no problems whatsoever when I try to log into the FTP server using a private IP address (10.0.0.x), but when I try to log in (with the same user) via a hostname (hostname.com, www.hostname.com, or ftp.hostname.com) or the public IP address, I receive a "500 Illegal PORT command" error after the login completes and tries to send me a directory listing.

    This system's HTTP, mail, and ssh servers are accessible via hostname and public IP. The only service that won't allow me access via hostname or public IP is FTP.

    I've tried adding a VirtualHost entry with the desired hostname in my proftpd.conf file, but that doesn't seem to help. Here's what that looks like:
    <VirtualHost ftp.hostname.com>
    ServerName "Hostname.com FTP Server"
    MaxLoginAttempts 3
    MaxClients 10
    DefaultRoot ~
    AllowOverwrite yes
    TimeoutLogin 120
    TimeoutIdle 300
    TimeOutnotransfer 900
    </VirtualHost>
    Do I have the syntax for the VirtualHost entry correct? Or should I be using an IP address in the <Virtualhost> tag?

    Thanks in advance for any help given.

  2. #2
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    my apologies, i have never used an ftp besides vsftpd, but a tool like webmin can be a great hand especialy on the more feature ritch servers.
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  3. #3
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    Try using passive in your ftp client not sure what client your using but itll have it. And dont use webmin to fix things do it via the cli then you wont get stuck having to use webmin for everything.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    no doubt, if you can handle it, but sometimes tools like webmin are best for people who arent comfortable with the CLI and general understanding of how .conf files are constructed.
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •