have been trying to setup Proftpd on my Redhat 7.2 machine for weeks and still nothing! It took me only 2 mins to get IIS 5.0 FTP to work!
Here is my situation:
Dynamic IP (DSL) + Linksys Router (NAT+Firewall)
If I do not use non standard ports Proftpd does not work at all! When I use Port 21, I am not even able to connect inside my LAN. If I use a NON-Standard Port, I am able to connect inside my LAN and from anywhere on the internet. However, if I use a non-standard port and access my Proftpd server from outside my LAN I can not see any files! It seems like nothing is there..if I do an upload outside my LAN the file goes into a blackhole!!! But everything works beautifully inside my LAN with a Non-Standard Port!
And Yes I have all FTP related ports forwarded to my Linux BOX! Remember I got IIS FTP to work from anywhere! I could ftp from inside/outside my LAN with no problems!
Here is my proftpd.conf file (Non-Standard Version - Stnadard Port Version is exactly the same except Port = 21 in the config):
ServerName "Hello Idaho New York"
ServerType standalone
DefaultServer on
PassivePorts 60000 65535
MasqueradeAddress
www.xxxxxxxxxxxxx.com
UseReverseDNS off
IdentLookups off
Port 2001
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30
# Set the user and group that the server normally runs at.
User ftp
Group ftp
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories.
<Anonymous ~ftp>
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 10
RequireValidShell off
AnonRequirePassword off
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
PLEASE HELP!!!! Prevent me FROM USING WINDOWS PLEASE!!!!