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:
Do I have the syntax for the VirtualHost entry correct? Or should I be using an IP address in the <Virtualhost> tag?Quote:
<VirtualHost ftp.hostname.com>
ServerName "Hostname.com FTP Server"
MaxLoginAttempts 3
MaxClients 10
DefaultRoot ~
AllowOverwrite yes
TimeoutLogin 120
TimeoutIdle 300
TimeOutnotransfer 900
</VirtualHost>
Thanks in advance for any help given.
