D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: agersant on December 20, 2010, 09:40:02 PM

Title: Problem with FTP access using dlinkddns
Post by: agersant on December 20, 2010, 09:40:02 PM
Hello !

I'm trying to make it possible for me to access my NAS when I'm away from home using the FTP server function. I did enable the FTP server function of the NAS and gave it a static IP in my local network. As a result, I can connect to it through Filezilla or my browser using ftp://myLogin:myPassword@192.168.1.18:21
No problem so far.

I registered at dlinkddns and obtained an alias which correctly points to my router's WAN IP and updates itself. When I enter this alias in my browser I end up on my router's configuration homepage. Good.
I did create a port forwarding rule on this router :
TCP  21 192.168.1.18      
UDP 21 192.168.1.18

The problem is that when I try to connect to ftp://myLogin:myPassword@myAlias.dlinkddns.com:21, no connection can be established. Filezilla says "ECONNREFUSED - Connection refused by server" and my browser displays an error page without any relevant information.
I am not running any Firewall on my computer.

What am I doing wrong ? Thanks in advance for your help !
Title: Re: Problem with FTP access using dlinkddns
Post by: jamieburchell on December 21, 2010, 02:06:37 PM
Does your ISP block port 21?
Try a different port number perhaps.
Title: Re: Problem with FTP access using dlinkddns
Post by: agersant on December 22, 2010, 03:21:50 AM
Thanks for the idea. Unfortunately, my router's port 21 is already open according to http://www.yougetsignal.com/tools/open-ports/
Title: Re: Problem with FTP access using dlinkddns
Post by: jamieburchell on December 22, 2010, 04:34:23 AM
Hmm, strange. This exact setup works for me, albeit using DynDNS.org.

Is Allow SSL/TLS connection only ticked in the web interface?
Title: Re: Problem with FTP access using dlinkddns
Post by: agersant on December 22, 2010, 07:51:06 AM
No it is not but at the bottom of the page, in the FTP Server Status box, it says "SSL/TLS connection    Yes". I assume this just means SSL/TLS is available (not required).
Title: Re: Problem with FTP access using dlinkddns
Post by: jamieburchell on December 22, 2010, 09:36:34 AM
Mine says the same. Fordem will probably be able to shed more light on the workings of FTP. I'm sure he mentioned opening more than port 21, but I've never had to. Does your firewall restrict outgoing connections? Mine doesn't, and it works. Have you tried passive vs. active mode in the FTP client?
Title: Re: Problem with FTP access using dlinkddns
Post by: fordem on December 22, 2010, 12:16:30 PM
Mine says the same. Fordem will probably be able to shed more light on the workings of FTP. I'm sure he mentioned opening more than port 21, but I've never had to. Does your firewall restrict outgoing connections? Mine doesn't, and it works. Have you tried passive vs. active mode in the FTP client?

For active ftp, only port 21 is required, for passive ftp more parts are required.