View Full Version : Cannot get external FTP working.
epcdaniel
01-28-2011, 09:26 PM
I am trying to configure external FTP. I have enabled it in the NAS firmware for port 21. It works fine over the router to its private IP and logs in, etc.
When I try to connect externally to the public IP, I do not get the welcome message at all, but it accepts a username and password before rejecting access.
I have tried opening both TCP and UDP ports on the router for port forwarding to the NAS IP for ports 21 and 20 for FTP data. I tried also using the "virtual server" function on this Dlink router for port 21 to see if it would allow it to connect that way. It does not work and it is 100% necessary for this to work.
Here is the login script (without the IP posted):
Status: Connection established, waiting for welcome message...
Response: 220 Inactivity timer = 120 seconds. Use 'site idle <secs>' to change.
Command: USER *******(username hidden)
Response: 331 Password required.
Command: PASS ********
Response: 530 Permission denied
Error: Critical error
Error: Could not connect to server
Any ideas?
BadIntentions
01-28-2011, 10:49 PM
I am trying to configure external FTP. I have enabled it in the NAS firmware for port 21. It works fine over the router to its private IP and logs in, etc.
When I try to connect externally to the public IP, I do not get the welcome message at all, but it accepts a username and password before rejecting access.
I have tried opening both TCP and UDP ports on the router for port forwarding to the NAS IP for ports 21 and 20 for FTP data. I tried also using the "virtual server" function on this Dlink router for port 21 to see if it would allow it to connect that way. It does not work and it is 100% necessary for this to work.
Here is the login script (without the IP posted):
Status: Connection established, waiting for welcome message...
Response: 220 Inactivity timer = 120 seconds. Use 'site idle <secs>' to change.
Command: USER *******(username hidden)
Response: 331 Password required.
Command: PASS ********
Response: 530 Permission denied
Error: Critical error
Error: Could not connect to server
Any ideas?
Its possible something else is running an FTP server on the network. It seems odd its not giving back a welcome message.
Barring that, you may need to enable then login to telnet and edit the vsftpd.conf file directly. This is a standard linux FTP daemon, so you can configure it like any other vsftpd install.
All FTP is a rather 'old world' style protocol. It does NOT work well with NAT (the device you call a router uses NAT to hide many PCs behind one IP address)
There are workarounds, and you will need to manually enable them on the valkyrie.
epcdaniel
01-30-2011, 10:44 AM
I thought there may be another FTP as well, but I cannot find any FTP daemons on any of the computers connected to the network. If I log in locally directly to the NAS private IP, I get the standard vsftp daemon's welcome message. What strikes me as odd is that the login that fails appears different, as if it's not even vsftpd that's responding. :confused: But what else would be responding?
Although FTP over NAT has been problematic in the past over broadband routers, this is not true of routers today if you use port forwarding. It does however make me want to connect my Linksys router in place of this Dlink and see if it connects though that. If it works then, at least I can start harping on Dlink.
This issue is rather serious as this workorder on our shoulders is for a business. This issue is also rather annoying because it's straight forward in its setup, yet it's not working.
Thank you again. I will get back to you on what I find and what may be the resolution.
audriosha
02-21-2011, 01:06 PM
epcdaniel, did you find the solution for this problem? I have identical problem and no solution. :confused:
epcdaniel
02-28-2011, 04:17 PM
epcdaniel, did you find the solution for this problem? I have identical problem and no solution. :confused:
No, I have not been able to resolve this issue and my client is getting pissed off about it. I am severely unhappy with this product.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.