Solved

proftpd/internet explorer 'getting contents of folder' timeout error

Posted on 2004-05-03
3
2,418 Views
Last Modified: 2010-05-18
When someone tries to connect to my ftp server using internet explorer it times out with 'getting contents of folder'

using the ftp command from dos doesn't show any problems (proftpd asks for username and password and allows the user to log in and use any available ftp commands).  Only change that has been made since the time it worked is putting the ftpserver behind a linksys router.  From the router, ports 20 and 21(tcp and udp) are forwarded to the ftpserver.

The proftp logs show successful connections and nothing more.
0
Comment
Question by:Albert1809
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
ID: 10977929
That sounds like IE trying to use PASV mode and ProFTPD & your Linksys aren't configured to allow that. What you'll want to do is to configure ProFTPD to use a limited range of the ephemeral TCP ports, say 50000-65535, and configure the Linksys to forward that port range to your FTP server. To limit ProFTPD's PASV port range you'll need to include something like:

PassivePorts 50000 65535

in the global section.
0
 
LVL 1

Author Comment

by:Albert1809
ID: 10983799
jlevie,

Your suggestion combined with the addition of 'MasqueradeAddress xxx.xxx.xxx.xxx' into proftpd.conf (http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-NAT.txt) worked.

Thanks for your help.
0
 

Expert Comment

by:Robert137
ID: 23403179
So I added this to my proftpd.conf file, then changed the firewall.

# Restrict the range of ports from which the server will select when sent the
# PASV command from a client. Use IANA-registered ephemeral port range of
# 49152-65534
PassivePorts 49152 65534
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question