?
Solved

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

Posted on 2004-05-03
3
Medium Priority
?
2,434 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 2000 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

WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.
Suggested Courses
Course of the Month7 days, 20 hours left to enroll

765 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