Solved

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

Posted on 2004-05-03
3
2,421 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

856 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