Solved

Cannot connect to ProFtpd in Passive Mode

Posted on 2006-10-24
3
3,152 Views
Last Modified: 2013-12-23
I am using CoreFTP lite to connect to my FTP server in passive mode and I get something like (I am not behind a firewall):

Connect socket #660 to 66.117.23.50, port 21...
220 ProFTPD 1.2.10 Server (ProFTPD) [66.117.23.50]  
USER ftpuser
331 Password required for ftpuser.  
PASS **********  
230 User ftpuser logged in.  
SYST  
215 UNIX Type: L8  
Keep alive off...
PWD  
257 "/" is current directory.  
PASV  
227 Entering Passive Mode (66,117,23,50,238,146).  
LIST  
Connect socket #652 to 66.117.23.50, port 61074...
timeout
QUIT  

(P.S. Real IP is not being used)

However unchecking passive mode in FTP client allows FTP connections *AND* passive mode connections over SFTP (port 22) do work !

Issue is: I need to enable passive connections over plain FTP (port 21), because I am using a backup script that only works in passive mode.
0
Comment
Question by:agubaira
  • 2
3 Comments
 

Author Comment

by:agubaira
ID: 17795895
Passive ports in proftpd are defined like this:

# Port 21 is the standard FTP port.
Port                            21
PassivePorts                    60000 65000
0
 
LVL 43

Accepted Solution

by:
ravenpl earned 250 total points
ID: 17801454
> *AND* passive mode connections over SFTP (port 22) do work !
there's no such thing - really! Even if passv command works - does nothing!
http://slacksite.com/other/ftp.html Here You have explanation how passive works, and what needs to be done on server's side firewall.
You propably have closed (on firewall from server side) all ports above 1024 (or only some are open). You need to open ports beeing used by proftpd as passive listening ports. As agubaira said - You don't have to allow every port >1024 as You can define some range for use by ftpd.
0
 

Author Comment

by:agubaira
ID: 17815546
Thanks for your help ! It was Plesk's firewall blocking those ports.

Antonio
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SOFS cluser offline 3 52
Map local drive to folder for all rdp users 7 43
Switch ports not working 8 34
How to change the nameserver on Ubuntu Server 6 23
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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.

809 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