Solved

Cannot connect to ProFtpd in Passive Mode

Posted on 2006-10-24
3
3,153 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

792 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