NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Bogo
Jul 01, 2016Tutor
Cant access Nas with Ftp works localy to access nas with normal network
Whenever i try to connect to my nas with ftp i get error "ECONNREFUSED - connection refuced by server" when trying from my windows phone and disable the wireless so it gets an external ipadress it ge...
- Jul 04, 2016
Bogo wrote:
Edit:i have checked it all folders in the linkstation have have SFTP on
Ok, SFTP runs on top of SSH, so you only need to open port 22. You can close all of the other ports. You also need an SFTP client. Fortunately, FileZilla supports SFTP.
Needless to say, put a strong password on your NAS.
TheEther
Jul 04, 2016Guru
Did you remember to set up both your server and client to use passive mode?
With your new port forwarding rules, you should now be connecting to port 21 with your client, not 50001.
Actually, this whole endeavor may be moot. FTP is not encrypted. You should be using an encrypted protocol like SFTP. Does your NAS support it?
With your new port forwarding rules, you should now be connecting to port 21 with your client, not 50001.
Actually, this whole endeavor may be moot. FTP is not encrypted. You should be using an encrypted protocol like SFTP. Does your NAS support it?
- BogoJul 04, 2016Tutor
Did you remember to set up both your server and client to use passive mode?
hmm the phone does not have that i think will check this more (will set this up on the remove client though
With your new port forwarding rules, you should now be connecting to port 21 with your client, not 50001.aa ok
Actually, this whole endeavor may be moot. FTP is not encrypted. You should be using an encrypted protocol like SFTP. Does your NAS support it?yep it does have never set it up though
Edit:
i have checked it all folders in the linkstation have have SFTP on
- TheEtherJul 04, 2016Guru
Bogo wrote:
Edit:i have checked it all folders in the linkstation have have SFTP on
Ok, SFTP runs on top of SSH, so you only need to open port 22. You can close all of the other ports. You also need an SFTP client. Fortunately, FileZilla supports SFTP.
Needless to say, put a strong password on your NAS.
- BogoJul 04, 2016Tutor
(sorry for responding to my own forum but i felt it would be better as i got progress now)
what you stated about passive mode and my phone made me try with yet an other client on the windows phone and got abit further. now it states error when its about to show the list i suppose it is the folderlist if i can read it correcly it states just like it is a slow network? (100/100 fiberline with lan cable all the way) .
this is the log (i have taken away the personal stuff like username and pass)
Start - ***.mynetgear.com:21 **
[7/4/2016 2:38:26 PM]
220 192.168.1.3 FTP server ready
[7/4/2016 2:38:26 PM]
USER ***
[7/4/2016 2:38:26 PM]
331 Password required for ****
[7/4/2016 2:38:26 PM]
PASS
[7/4/2016 2:38:26 PM]
230 User logged in
[7/4/2016 2:38:26 PM]
opts utf8 on
[7/4/2016 2:38:26 PM]
451 Unable to accept OPTS UTF8
[7/4/2016 2:38:26 PM]
PASV
[7/4/2016 2:38:26 PM]
227 Entering Passive Mode (31,208,163,198,195,107)
[7/4/2016 2:38:26 PM]
TYPE A
[7/4/2016 2:38:26 PM]
200 Type set to A
[7/4/2016 2:38:26 PM]
LIST
ConnectData: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
- TheEtherJul 04, 2016Guru
FTP uses two connections. The main one on port 21 is for commands. The second one is for transferring data. It looks like the second one is failing. The response to the PASV command indicates that the client should attempt to connect to port 50027 at IP address 31.208.x.x (Note: This is your public IP address, which you should not be sharing with us.). Did you remove the port forwarding rule for 50000-50050? You still need it if you want passive mode FTP to work.
Note, you can, if you want, use active mode FTP. It will work without the port forwarding rule for 50000-50050.
But I'll caution you again that you really should use SFTP.