I set up a FileZilla server, forwarded all ports etc. pp. and I can connect from the outside using PASV. However, opening a data connection consistently fails. I've been using ftptest.net to test my connection.
I'm using a custom port for the initial FTP connection (not 21), but the standard port range for passive mode. Both are forwarded from my router to the machine on which the FTP server runs.
Thanks a lot for your help!
Here's an example server log:
Code: Select all
(000003)01.06.2011 11:27:32 - (not logged in) (62.75.138.232)> Connected, sending welcome message...
(000003)01.06.2011 11:27:32 - (not logged in) (62.75.138.232)> 220 FileZilla Server version 0.9.37 beta
(000003)01.06.2011 11:27:32 - (not logged in) (62.75.138.232)> CLNT https://ftptest.net/ on behalf of XX.XX.XX.XX
(000003)01.06.2011 11:27:32 - (not logged in) (62.75.138.232)> 200 Don't care
(000003)01.06.2011 11:27:32 - (not logged in) (62.75.138.232)> USER Thinkpad
(000003)01.06.2011 11:27:32 - (not logged in) (62.75.138.232)> 331 Password required for thinkpad
(000003)01.06.2011 11:27:32 - (not logged in) (62.75.138.232)> PASS ********
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> 230 Logged on
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> SYST
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> 215 UNIX emulated by FileZilla
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> FEAT
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> 211-Features:
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> MDTM
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> REST STREAM
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> SIZE
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> MLST type*;size*;modify*;
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> MLSD
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> AUTH SSL
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> AUTH TLS
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> PROT
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> PBSZ
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> UTF8
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> CLNT
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> MFMT
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> 211 End
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> PWD
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> 257 "/" is current directory.
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> TYPE I
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> 200 Type set to I
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> PASV
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> 227 Entering Passive Mode (YY,YY,YY,YY,10,172)
(000003)01.06.2011 11:27:32 - thinkpad (62.75.138.232)> MLSD
(000003)01.06.2011 11:27:43 - thinkpad (62.75.138.232)> 425 Can't open data connection.
(000003)01.06.2011 11:27:43 - thinkpad (62.75.138.232)> disconnected.