ftp within local network

Associate
Joined
14 Sep 2003
Posts
773
have a readynas duo and i want to access the user folders via ftp within the local network. Now i can login fine from outside the network but trying it from my pc to the readynas always gives a login incorrect error using ws_ftp. I have the router set to forward port 21 to the readynas and it clearly accepts the connection but fails to accept the login details, even if i try anonymous.
 
I am trying to think what differences there are between traffic originating from outside the network and from inside the network. I would suggest that this is likely to be related to port number handling and the fact that the port number expected by the NAS is only being identified correctly when the request comes from outside. I don't have specific suggestions but I would think along these lines ...

Rgds
 
Exactly what is the error from ws_ftp?

Also... how are you connecting to your ftp, with the internal ip address or your public ip?
 
ok, ive tried it everyway i can think of, thats network ip, host name and external ip forwarded on port 21 to the nas. Whatever i do the error is LOGIN INCORRECT. So its making the connection. If i switch to connecting externally for example via dialup then i can login no problem.
 
I cant see it making any difference, but have you tried forwarding port 20 as well as 21?
Netgear suggest this is also forwarded to the readynas in active mode.
 
Paste in the logs of EXACTLY what your FTP client is displaying please.

Does it work internally using the same login details?
 
no, thats the thing, it doesnt work INTERNALLY but does work externally with the same login details.

Finding Host ****.mine.nu ...
Connecting to xxx.xxx.xxx.xxx:21
Connected to xxx.xxx.xxx.xxx:21 in 0.015625 seconds, Waiting for Server Response
220 Ftp firmware update utility
Host type (1): Automatic detect
USER xxxx
331 Password please.
PASS (hidden)
421 Login incorrect.

and it will say login incorrect even if i set it up as anonymous.
 
Just out of interest, why do you want to access the files locally via FTP, can't you just share them out via network shares? I'm assuming there's a specific reason?
 
these are user folders setup as ftp only which i want to access. Im not sure how else to get to them. I believe i would have to use the command line to browse drive C on the readynas?
 
With some routers I've had it doesn't let me connect to services on the local network using the public internet IP address. Did you say you've tried connecting using a local address?

Although you're being connected to the FTP server so I doubt it's that.
 
Finding Host ****.mine.nu ...
Connecting to xxx.xxx.xxx.xxx:21
Connected to xxx.xxx.xxx.xxx:21 in 0.015625 seconds, Waiting for Server

Are you sure you're connecting to the internal IP? Looks from this that you're still using your external host entry.
 
Your firewall on your router won't generally let you perform a loopback.

If it's internal, then use the internal IP. :-/
 
when i use the internal ip it resolves to the dns server (i use open dns). I use dynsorg so i use a domain name that points back to my external ip.
 
Back
Top Bottom