D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-320 => Topic started by: shodan on February 08, 2013, 02:59:37 PM

Title: use webfile server on dns-320
Post by: shodan on February 08, 2013, 02:59:37 PM
Hi Board,

I'm a total newbie when it comes to networking, and still, I would like to be able to reach my dns-320 from externally over the internet, however, even after a lot of googling,it doesn't seem to work.  this is the situation:

I have a telenet router/modem (which does not allow port forwarding below 1254), behind this I have a TPlink wireless router, and on this router, my dns-320 nas is attached.  What should I do to be able to connect to this nas from outside my network?  Note that I can not immediately forward to port 80.  Can anyone help me with this in a very symplistic way?  Is there anything you still need to know to be able to provide a solution?

thanks a lot !
Title: Re: use webfile server on dns-320
Post by: albert on February 08, 2013, 06:21:31 PM
What type of broadband connection (ADSL, Cable, Fibre) are you on? Is the first router/modem configured as bridge?

More info (brand and model) on the equipment used would be helpful.
Title: Re: use webfile server on dns-320
Post by: ivan on February 09, 2013, 06:28:12 AM
To add to albert's questions I would add.

How is your network setup, DHCP or fixed IP?  If DHCP  which is the DCHP server?

Are your modem/router and wireless router daisy chained or do they connect in some other way?

Why is the DNS-320 connected to the wireless router?  why not the modem/router?

In other words the more information you can give the greater likelihood of us being able to help.
Title: Re: use webfile server on dns-320
Post by: shodan on February 09, 2013, 11:55:31 PM
Hi guys,

sorry for not coming back earlier, I was waiting for an emai, but none came along (maybe I didn't set it up like this).

LET me try to give some more explanation/  I live in Belgium and I have internet via Telenet.  This means that you automatically get a all in one wireless modem router from the provider.  The model is CBN CH6541E.

I have plugged a TPlink router into the telenet router.  the model is TLWR841N v6/v7

my homework is fully cabled.  So all deviced like the NAS and desktop are connected to the internet via cable.  I think that when I do go wireless, like with an laptop, it is automatically via the CBN modem/router.

If I check the TPlink router, I see WAN connection type dynamic. 

When I check DHCP, it is enabled.

First router/modem configured as bridge --> don't know

It doesn't work when I connect the DNS-320 directly to the CBN CH6541E, so that is why I connected it to the TLWR841N

Just as additional information: when I use my ipad, i can connect to the NAS by keying the IP adress in the safari browser. (but ofcourse only at home when I use my internal network)

Thanks so far for the effort of helping me, and I hope I have given you correct information.


Title: Re: use webfile server on dns-320
Post by: shodan on February 11, 2013, 01:50:03 PM
Hello,

I have been trying more things.... I have created an account at no-ip.org so I now have an dynamic dns name.  I have used the option Port80 redirect, as my service provider also does not allow port forwarding at port 80.  I thought to understand that this is made possible anyhow with this option?
I have added the ddns in the DNS-320, but when I click the save button, it always gives a failure message.
when I check if port is open via open port check , it is not open. It still doesn't work, and I'm quit sure that the port forwarding I have entered in my routers is not correct.
Is there any option within the dns-320 that you don't need to use port 80?

Hopefully anyone can still help. 
Title: Re: use webfile server on dns-320
Post by: albert on February 11, 2013, 08:57:20 PM
A quick check on google revert that CH6541E is a wireless voice gateway for cable network. What is not clear is how this device is configured. Could you list out how your network equipment is connected to each other?

For example:

Internet ---> CH6541E
                   |---> TLWR841N
                   |---> PC ??      |---> PC ??
                   |---> PC ??      |---> PC ??
                   |---> PC ??      |---> PC ??
                                         |---> NAS
Title: Re: use webfile server on dns-320
Post by: priitv8 on February 11, 2013, 10:03:20 PM
Is there any option within the dns-320 that you don't need to use port 80?
On my DNS-325 I use the option to use SSL-Login, which will move the connection from HTTP to HTTPS ie from port 80 to 443:
(http://i.imgur.com/kPN23.png)
That way, I have only 443 forwarded to my DNS on my router, port 80 forwarding is not needed to access NAS.

PS once you draw up the topology of your network connection as albert has encouraged you to do, you most definitely will want to make sure that you are not doing double-NAT (ie. that both CH6541E and TLWR841N are carrying out address translation).
Title: Re: use webfile server on dns-320
Post by: shodan on February 11, 2013, 10:52:50 PM
Thuis schould be the topology of my network
Internet
   --->ch6541E
                      --->tlwr841n
                                          --->dns-320
                                          --->switch
                                                         --->desktop
                                          --->switch
                                                         --->Philips tv
                                                         --->onkyo receiver
                                                         --->ps3

This schould be it. Pretty much like you stated in, i just gave all the additional devices.
So of my ISP is blocking port 80, i wou.d like to go for that ssl login option. Does in have other consequences?

How schould i find out of i'm doing double NAT?

Thanks all for following up .
Title: Re: use webfile server on dns-320
Post by: albert on February 11, 2013, 11:11:56 PM
Based on your network topology, it's pretty clear that CH6541E is configured in bridge mode. And since your ISP block port 80, you have a option to use secure http (port 443) for accessing NAS remotely.

Obtain a DDNS address from D-Link (https://www.dlinkddns.com/login) if you currently doesn't have one. Enable DDNS service on your TP router, refer to here (http://screenshots.portforward.com/TP-Link/TL-WR841N/DDNS.htm) for how-to. And add port-forwarding entry (refer here (http://portforward.com/english/routers/port_forwarding/TP-Link/TL-WR841N/SSH.htm), replace 22 with 443) and you should be good to go.
Title: Re: use webfile server on dns-320
Post by: shodan on February 12, 2013, 03:06:38 AM
Thanks for the reply.  I'm going to try this out this evening.  I hope you don't mind if I come back with more questions. 

Concerning the port forwarding: should I do it on both CH6541E and the TP router or only on one of them?

Concerning the use of the secure http port 443, has this than to do with the SSL login?  do I need to do something special or will the NAS automically recognises this?

Title: Re: use webfile server on dns-320
Post by: albert on February 12, 2013, 04:07:12 AM
Do you have access to the CH6541E web admin menu? It's probably locked by your ISP which is why you can't connect any devices on the LAN ports. Just do all port-forwarding on the TP router.

Yes, for secure http to work you have to enter https://yourDDNSname and select SSL login at the NAS webUI.
Title: Re: use webfile server on dns-320
Post by: shodan on February 12, 2013, 09:55:48 AM
Yes, i do have access to the web admin menu. But what is so strange is that the port forwading seems to be limited to 192.168.0.xxx ip were i can only change the xxx part.  I also have to state start and end port.
I'll try first the suggestions you explained earlier and keep you posted.

Thanks
Title: Re: use webfile server on dns-320
Post by: shodan on February 12, 2013, 01:55:27 PM
Guys,

Despite excellent explanations I'm afraid I'm still not smart enough to get this working.

On the DDNS part
I have now obtained a DDNS via dlink.  What I was not certain of: the "NEW IP ADRESS", is this the browser address that is mentionned?  I just copied it .  Is this correct?

On the TP router:
* I believe the set up of the ddns part worked as when I logon, I connection status succeeded.
*on the port forwarding part: which IP address should I enter here?  the one of the NAS?  I entered everything else according to the example, and left the common service port blank.  is this ok?

On the DNS-320:
I enabled dynamic dns, and entered the information from dlink ddns.  When I save, it tries to connect and it mentions "update failure".  However, this step was not put in the instructions from Albert, so I'm not sure if I need to do anything here.

when I check the port 443 via these online tools, it appears to be closed.

 I guess I must still have done something wrong with the IP's.

Hopefully you can guide me further.
Thanks
Title: Re: use webfile server on dns-320
Post by: priitv8 on February 12, 2013, 10:28:18 PM
Still not clear, how many devices are performing NAT in your setup, if any.
Will you be able to amend your topology chart with the IP addresses you get on both internal (LAN) and external (WAN) ends of ch6541E and tlwr841n. And what IP do you get for DNS??
Title: Re: use webfile server on dns-320
Post by: shodan on February 13, 2013, 07:45:05 AM
Hey,

Can I just put all IP adressess here on the net?  I see always that people are trying to prevent themselves from getting the IP's on the net?

How do I check which IP i et for DNS?

Wouldn't it help if the questions I raised are checked and answered?

thanks already
Title: Re: use webfile server on dns-320
Post by: albert on February 13, 2013, 09:23:14 AM
Ignore the "New IP Address" field in www.dlinkddns.com site.

Only enable DDNS service on the TP router. Select Dyndns.org as the service provider and enter the domain name which you use in dlinkddns site, eg. yourname.dlinkddns.com, tick "Enable DDNS" and save the settings.

As for port-forwarding on TP router, enter service port 443 and the IP address of your NAS.

You may wish to test out if DDNS is indeed working from another Internet connection by doing a ping, eg. ping yourname.dlinkddns.com
Title: Re: use webfile server on dns-320
Post by: shodan on February 13, 2013, 10:54:01 PM
Hello,

i'have done all the above, but I guess it stays a no go.  The pinging works when I do it from my pc, but when I do it from my office pc (which normally can not reach my network, even when it uses the same internet connection) it doesn't work.  the request times out.

No I have been checjin again with the ISP, and it appears that they by default block all ports below 1023. so also 443. 

Would this mean that there is no way I can reach my dns-320 from remote? 

Let me come back to my orignal goal; what I would like is for instance to be able to look at pictures which are stored on my dnas. Is there an option to somehow have the dnas recognise a port above 1023?

Title: Re: use webfile server on dns-320
Post by: albert on February 14, 2013, 03:47:02 AM
If your ISP has indeed block a range of port numbers up to 1023 then a workaround would be to use non-standard port for secure http access. In this example, I used port 4430 for secure http access. Under Virtual Servers, it should look like this:

ID Service Port  Internal Port  IP Address    Protocol  Status
1  4430            443              192.168.x.x  ALL         Enabled

IP address 192.168.x.x refer to your actual NAS address. To access your NAS remotely, type: https://yourDDNS.dlinkddns.com:4430
Title: Re: use webfile server on dns-320
Post by: shodan on February 14, 2013, 11:19:12 AM
I wanted to give this a try, but within the virtual server I can only choose the Service port.  I have now put 4430 in.  However, I can not specify an internal port.  This option is not available.

Has it something to do with port triggering?  I tried it anyhow, entering 4430 as triggering port, and 443 as incoming port and also the reversed enty, but also here, no success.

Can it also be in conflict with for instance the TLWR81N options for remote control or security management?

Sorry for all the questions and thank you for your persistence.
Title: Re: use webfile server on dns-320
Post by: shodan on February 15, 2013, 09:10:23 AM
Guys,

I have been reading and talking and this is here is the case:

My TLWR841N  also has DHCP enabled so is also doing NAT I guess.  I have enabled DDNS in this router and what I have understood so far now is that it should have in fact been enabled in the CH6541E.
However, here I do not have the option  to do this.  The only thing I can do here is port forwarding above port 1023 and there is an option of DMZ.  Don't know if this is any good. 

Do I still have options to make it work anyway?

Thanks!
Title: Re: use webfile server on dns-320
Post by: shodan on February 19, 2013, 10:52:41 AM
Hello,

Has everybody given up?  Any other option to explore.  What about this funplug and telnet?

Thanks
Title: Re: use webfile server on dns-320
Post by: ivan on February 20, 2013, 03:26:09 PM
The only thing I can come up with, other than changing your modem to one that isn't locked if the following;
http://legends-league.com/forum/viewtopic.php?f=18&t=7457 (http://legends-league.com/forum/viewtopic.php?f=18&t=7457) and
http://www.tik.be/forum/viewtopic.php?f=5&t=13552 (http://www.tik.be/forum/viewtopic.php?f=5&t=13552)
Which are a couple of fora concerned with your modem and some problems other had and worked round.  I don't know if they will be of any help to you but they just might.
Title: Re: use webfile server on dns-320
Post by: albert on February 21, 2013, 07:12:27 AM
I wanted to give this a try, but within the virtual server I can only choose the Service port.  I have now put 4430 in.  However, I can not specify an internal port.  This option is not available.

Has it something to do with port triggering?  I tried it anyhow, entering 4430 as triggering port, and 443 as incoming port and also the reversed enty, but also here, no success.

Can it also be in conflict with for instance the TLWR81N options for remote control or security management?

Sorry for all the questions and thank you for your persistence.

I read the TL-WR841N v7 manual (page 53) and it clearly show that there are Service and Internal Port under Virtual Servers. Perhaps it could be due the current router firmware, do check and update to the latest version.
Title: Re: use webfile server on dns-320
Post by: shodan on February 24, 2013, 11:58:00 AM
Albert,

Thanks one more for guiding me.

so, I now have update the firmware and this indeed makes sure I can set up an internal port as well.
I haven't been able to try the access just yet, but will try to do so as soon as possible.
I'll let you know what happened.

I'll cross my fingers.
Title: Re: use webfile server on dns-320
Post by: shodan on February 26, 2013, 10:27:56 AM
Hi,

I've got some good news!  It finally works,.. I can reach the nas from remote but... I got stuck on the login screen now ::)

If I use the SSL login from the wired PC, there is no issue, and the password is taken.  However, when I try to login from remote from external network, or wireless via my own network, it does not react when I key in my password.  I'm login in as admin, so without specifying any user. Any idea what this is about?
Btw, I also upgraded the firmwere to 2.03 (now my itunes server works as well)

Thanks
Title: Re: use webfile server on dns-320
Post by: albert on March 04, 2013, 01:12:06 AM
I assumed you have upgraded the firmware for TL-WR841N router.

Do post a screen-shot of your port-forwarding entries.
Title: Re: use webfile server on dns-320
Post by: shodan on March 06, 2013, 02:31:57 AM
Albert,
I'l struggling to get the snaphot on here, so I'll exactly type my entries:

ID: 1
Service port: 4430
Internal Port: 443
IP address: 192.168.8.60
Protocol: ALL
Status: Enabled

If I go into this one via 'modify', I also see common service port : "Select one" so nothing selected here.

I only have one entry

Does this helps?
Title: Re: use webfile server on dns-320
Post by: albert on March 07, 2013, 04:48:06 AM
I have tested out using non-standard port for SSL and it doesn't work, apparently whatever port number (in this case, 4430) wouldn't be appended at the end of the URL. Also the current NAS firmware (2.03) doesn't work with other port-number, it will result in error page when changed.

However, using the same setup for port 80 worked. For example:

ID: 1
Service port: 8080   <-- use any port number above 1024
Internal Port: 80
IP address: 192.168.8.60
Protocol: ALL
Status: Enabled

To access NAS webUI remotely, type: http://yourDDNSdomain:8080
Title: Re: use webfile server on dns-320
Post by: shodan on March 10, 2013, 12:49:04 AM
Hello Albert,

It finally worked!  Thank you so much for hanging in there and guiding me to to finish!  It is much appreciated.

I tested it, and I was able to connect to the NAS and reach the files on there. 

What I am still curious about: when I would like to access my photos for instance, I need the download picture by picture.  It is not like there is a kind of a photo viewer right?

Anyway, thanks again!
Title: Re: use webfile server on dns-320
Post by: albert on March 10, 2013, 04:18:25 AM
You're welcome, glad to be of help.

Have you try Ajaxplorer, IIRC there is option to view picture/video.
Title: Re: use webfile server on dns-320
Post by: shodan on March 11, 2013, 05:37:33 AM
I haven't tried Ajaxplorer.  didn't know this.  I'll check this out.  Will this change anything to the remote access set up?
Title: Re: use webfile server on dns-320
Post by: shodan on March 11, 2013, 02:54:33 PM
I remember I once saw ajaxplorer, but I think that since the upgrade, it is no longer there?
Title: Re: use webfile server on dns-320
Post by: albert on March 11, 2013, 06:28:27 PM
Nope, it's still there just that it will appear under normal user not administrator login.
Title: Re: use webfile server on dns-320
Post by: shodan on March 15, 2013, 09:57:49 AM
Hi again Albert

I never logged in as a normal user before, but i did now, and indeed i see the ajaxplorer. So i now have to install funplug and THE coding to show my volume1.  I'll give it a try. Just for my information,  ajaxplorer does not need to be installed on the remote pc right?

Do you have experience with an app called file-explorer? It is an app for iPad and it let me very easily access my dns320. However, despite some parameters available, i can't get it to work remotely.

Kind Renards