NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
StanKaminski
Dec 05, 2011Aspirant
FTP connection to a ReadtNAS Ultra
I am having a problem setting up a FTP connection to my ReADYnas uLTRA 4 THRU MY vERIZON fios rOUTER. iT SEEMS TO ESTABLISH A CONNECTION BUT TIMES OUT WHEN REQUESTIONG A DIRESTORY LIST. iF i AM INSIDE MY ROUTER THE FTP CLIENT WORKS. iI CHECKED AND THE PORTS I AM USING ARE OPENED. I AM OUT OF IDEAS. HELP!
11 Replies
- StephenBGuru - Experienced User
What FTP client are you using?StanKaminski wrote: I am having a problem setting up a FTP connection to my ReADYnas uLTRA 4 THRU MY vERIZON fios rOUTER. iT SEEMS TO ESTABLISH A CONNECTION BUT TIMES OUT WHEN REQUESTIONG A DIRESTORY LIST. iF i AM INSIDE MY ROUTER THE FTP CLIENT WORKS. iI CHECKED AND THE PORTS I AM USING ARE OPENED. I AM OUT OF IDEAS. HELP!
Note that with passive FTP ports, the masquerading can be set up for either inside the router or outside the router, but not both. However, if you set up the NAS for inside-the-router (the default),the FileZilla client will work properly outside-the-router as well- it detects and works around the issue. - StanKaminskiAspirantI tried using Filezilla as a client. Here is the error.
Status: Resolving address of krackerhome.dyndns.org
Status: Connecting to 173.71.6.xxx:xxxx..
Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.3c Server (NETGEAR ReadyNAS) [173.71.6.xxx]
Command: USER admin
Response: 331 Password required for admin
Command: PASS ********
Response: 230 User admin logged in
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: MFMT
Response: TVFS
Response: AUTH TLS
Response: MFF modify;UNIX.group;UNIX.mode;
Response: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Response: LANG en-US*
Response: PBSZ
Response: PROT
Response: SITE MKDIR
Response: SITE RMDIR
Response: SITE UTIME
Response: SITE SYMLINK
Response: REST STREAM
Response: SIZE
Response: 211 End
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PORT 172,18,192,7,226,172
Response: 200 PORT command successful
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing - StephenBGuru - Experienced UserYour FileZilla client is not using passive FTP. If you look under "settings" is the transfer mode set to Passive (recommended)? You can also set this for each FTP server in the site manager transfer settings.
- StanKaminskiAspirantIt fails in passive mode.
Command: PASS ********
Response: 230 User admin logged in
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 (173,71,6,249,13,78).
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing - StephenBGuru - Experienced User
Ok. And the passive ports configured on the NAS are all forwarded to the NAS in the router? Also, does it work normally inside the firewall (in passive mode)?StanKaminski wrote: It fails in passive mode.
Command: PASS ********
Response: 230 User admin logged in
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 (173,71,6,249,13,78).
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing - StanKaminskiAspirantAll ports in the router are forwarded to the NAS.
I confirmed that the ports are open.
It does work correctly inside the firewall. - StephenBGuru - Experienced User
StanKaminski wrote: All ports in the router are forwarded to the NAS.
I confirmed that the ports are open.
It does work correctly inside the firewall.
I think the problem is that your internal IP address looks routeable to FileZilla (173.xxx.xxx.xxx)
This is what I see(ftp over tls)...Status: Resolving address of blah.blah.blah
Status: Connecting to xxx.xxx.xxx.xxx:xxxxx...
Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.3c Server (NETGEAR ReadyNAS) [192.168.1.16]
Command: AUTH TLS
Response: 234 AUTH TLS successful
Status: Initializing TLS...
Status: Verifying certificate...
Command: USER admin
Status: TLS/SSL connection established.
Response: 331 Password required for admin
Command: PASS ********
Response: 230 User admin logged in
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: MFMT
Response: TVFS
Response: UTF8
Response: AUTH TLS
Response: MFF modify;UNIX.group;UNIX.mode;
Response: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Response: LANG en-US*
Response: PBSZ
Response: PROT
Response: SITE MKDIR
Response: SITE RMDIR
Response: SITE UTIME
Response: SITE SYMLINK
Response: REST STREAM
Response: SIZE
Response: 211 End
Command: OPTS UTF8 ON
Response: 200 UTF8 set to on
Command: PBSZ 0
Response: 200 PBSZ 0 successful
Command: PROT P
Response: 200 Protection set to Private
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 (192,168,1,16,xx,xx).
Status: Server sent passive reply with unroutable address. Using server address instead.
Command: MLSD
Response: 150 Opening ASCII mode data connection for MLSD
Response: 226 Transfer complete
Status: Directory listing successful - StanKaminskiAspirantWhere did you get the SFTP app for the NAS
- StephenBGuru - Experienced User
It's not SFTP - it is FTP over TLS. The normal NAS firmware supports it.StanKaminski wrote: Where did you get the SFTP app for the NAS - StanKaminskiAspirantDo you know if there is an app for the nas to do sftp?
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!