I am running proFTPd on my CentOS linux VM (which is behind NAT).
This is my proftpd.conf
configuration so far: http://pastebin.com/raw.php?i=X8rXYbSJ
When ever I connect to the ftp account in FileZilla client, I am getting the following:
Status: Connecting to 109.xxx.xx.xxx:2121...
Status: Connection established, waiting for welcome message...
Response: 220 FTP Server Ready.
Command: USER exampleuser
Response: 331 Password required for exampleuser
Command: PASS ******
Response: 230 User exampleuser logged in
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: MFMT
Response: LANG ja-JP;ko-KR;bg-BG;zh-TW;en-US;ru-RU;it-IT;fr-FR;zh-CN
Response: TVFS
Response: UTF8
Response: MFF modify;UNIX.group;UNIX.mode;
Response: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Response: REST STREAM
Response: SIZE
Response: 211 End
Command: OPTS UTF8 ON
Response: 200 UTF8 set to on
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (109,xxx,xx,xxx,237,74).
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing
I've looked in /var/log/proftpd/
folder and it's empty.
I found the following in this file /var/log/messages
:
Oct 29 12:34:33 mageDev proftpd[27542]: 127.0.0.1 - ProFTPD killed (signal 15)
Oct 29 12:34:33 mageDev proftpd[27542]: 127.0.0.1 - ProFTPD 1.3.3g standalone mode SHUTDOWN
Oct 29 12:34:34 mageDev proftpd[27560]: 127.0.0.1 - ProFTPD 1.3.3g (maint) (built Sat Sep 14 2013 20:13:10 UTC) standalone mode STARTUP
Oct 29 12:34:53 mageDev proftpd[27562]: 127.0.0.1 (::ffff:46.xx.xxx.xx[::ffff:46.xx.xxx.xx]) - FTP session opened.
Oct 29 12:34:53 mageDev proftpd[27562]: 127.0.0.1 (::ffff:46.xx.xxx.xx[::ffff:46.xx.xxx.xx]) - Preparing to chroot to directory '/ftp/exampleuser'
How can I diagnose this error/problem? Why is it throwing the error Failed to retrieve directory listing
?
This is the server folder for this exampleuser
:
I realise a similar question like this already asked here: proftpd, dynamic IP, and filezilla: port troubles
Unlike this user, if I remove my MasqueradeAddress
I get this warning and still same error:
Status: Server sent passive reply with unroutable address. Using server address instead.
Command: LIST
Error: Connection timed out
Error: Failed to retrieve directory listing
2121
is open for the incoming connection.