cancel
Showing results for 
Search instead for 
Did you mean: 

ftp port forwarding on d-link DNS-320L

tazfan
Dabbler
Posts: 13
Registered: 09-11-2015

ftp port forwarding on d-link DNS-320L

hi i just installed an nas on my home network the DNS-320L working great i just can't seem to get the ftp server to run from out side my house i have an static ip so my ip dose not change i have set up the port forward in the Plusnet router see the image below for how i set it up i can't connect to it with in my home network ever via ftp yet when i turn on DMZ to the NAS only people outside can use the FTP any ideas what i am doing wrong and why its not working ? i have the Plusnet router firewall set to Defaults  

 

8 REPLIES
Community Veteran
Posts: 4,746
Thanks: 1,045
Fixes: 27
Registered: 16-10-2014

Re: ftp port forwarding on d-link DNS-320L

It has to be asked you have enabled this service (FTP) on the NAS?

tazfan
Dabbler
Posts: 13
Registered: 09-11-2015

Re: ftp port forwarding on d-link DNS-320L

yer but when i turn on dmz people from out side can see it but of course i dont want dmz left on 

Community Veteran
Posts: 4,746
Thanks: 1,045
Fixes: 27
Registered: 16-10-2014

Re: ftp port forwarding on d-link DNS-320L

You're confusing me now, which, to be fair can easily be done, so what are your expectations? If you disable the DMZ then no one can access the FTP service so why port forward in the first place if you don't want the DMZ on?

tazfan
Dabbler
Posts: 13
Registered: 09-11-2015

Re: ftp port forwarding on d-link DNS-320L

yer that is right i did not have DMZ on before I set up the port forward in my router to test and outside can get to the FTP on the nas but as soon as i turn DMZ off in the router and to the NAS FTP stops working 

 

I set up FTP port forwarding like i showed in the image in my first post but it only seems to work outside if I have DMZ on which, of course, is not really that safe i thought i would try dmz and it worked so i not sure ?

Moderator
Moderator
Posts: 25,756
Thanks: 1,120
Fixes: 47
Registered: 14-04-2007

Re: ftp port forwarding on d-link DNS-320L

Could be wrong but I believe DMZ opens all protocols to the outside world including FTP.

You don't want that, you just want FTP open.

I don't have access to that particular router so can't help...sorry.

Customer and Forum Moderator.
Product of the Tyrell Corporation
tazfan
Dabbler
Posts: 13
Registered: 09-11-2015

Re: ftp port forwarding on d-link DNS-320L

i just want port 21 open which is FTP on the NAS has set i have router Plusnet gives you for normal asdl Broadband 

Community Veteran
Posts: 4,746
Thanks: 1,045
Fixes: 27
Registered: 16-10-2014

Re: ftp port forwarding on d-link DNS-320L

I don't use that router either, but aren't you able to simply port forward the port(s) you need to the NAS' IP without enabling the DMZ? If this can be done (someone will more than likely give you instruction on this later) you're sorted, however, if this can't be done then it's a new router, one that will allow this configuration.

 

flamingbadger
Dabbler
Posts: 14
Thanks: 1
Registered: 08-02-2016

Re: ftp port forwarding on d-link DNS-320L

FTP requires two ports unless the router is smart enough to do FTP inspection.  In active FTP, port 21 is the control port and should let you log in but you will find you are unable to transfer files or get directory listings unless you also forward port 20 (the ftp data port).  With passive FTP (PASV), 21 is still the control port but the data ports are dynamic.  You set them on the FTP server and then you will need to forward these ports on your router as well.

 

Have a look here for more detail:

http://stackoverflow.com/questions/1699145/what-is-the-difference-between-active-and-passive-ftp