D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-320 => Topic started by: anderson_br on July 14, 2012, 07:57:54 PM

Title: Can't acces my NAS out of my LAN
Post by: anderson_br on July 14, 2012, 07:57:54 PM
Good night!

I bought a DNS-320, made ​​the setting, set a static IP to it (outside the DHCP range of the router), I setup port forwarding on the router (8108, because my ISP blocks port 80), set up my account DDNS but still can not access my NAS xxx.dyndns.com the host outside the local network ... Where am I wrong? Missing a step?

Example of my setup:

IP = 192.168.0.150 NAS
Main router (Tenda W311R +) = 192.168.0.10
Router repeater (Tenda W268R) = 192.168.0.20
Forwarding ports (main router) = 8108
DDNS configured the router and not on the NAS
DMZ enabled on the router to the local IP of the NAS

Thank you!

(Forgive me for failing English)
Title: Re: Can't acces my NAS out of my LAN
Post by: nomadfromx on July 14, 2012, 08:03:30 PM
You configure DDNS on the NAS, and the need for a router
Title: Re: Can't acces my NAS out of my LAN
Post by: anderson_br on July 14, 2012, 08:06:55 PM
nomadfromx, thanks for the reply. Here we go:

I setup the DDNS account also in the NAS? I keep the two (NAS and router) active settings??

I've done this setting and still have not had success ... :(
Title: Re: Can't acces my NAS out of my LAN
Post by: telemaxx on July 15, 2012, 01:45:00 AM
On my dlink router DMZ has the meaning: forward all port 1:1

so i disable this and forward only some ports.
changing the ports while forwarding, dlink call this "virtual server"

for http:
you need a rule forward port8108 -> port80. udp and tcp

from outside of youre lan you have to enter now:
http://xxx.dyndns.com:8108


Title: Re: Can't acces my NAS out of my LAN
Post by: albert on July 15, 2012, 06:46:39 AM
Using non-standard port for remote web access will not work on firmware 2.02 but secure HTTP (port 443) work fine.
Title: Re: Can't acces my NAS out of my LAN
Post by: anderson_br on July 15, 2012, 07:28:51 AM
telemaxx, thanks for the reply ...

On the DMZ, I know, was a desperate attempt .....
I setup the DMZ is disabled and still unable to access ...

Albert, thank you!

I did the test using port 443 and also have not had much success ...

This is my setup redirection:

(http://img690.imageshack.us/img690/908/capturarxms.png)

If I try to access the NAS by the local IP + redirected port (192.168.0.150:443) this error occurs: Error 324 (net :: ERR_EMPTY_RESPONSE)
Title: Re: Can't acces my NAS out of my LAN
Post by: albert on July 15, 2012, 08:52:34 AM
@anderson_br, your pic link is not working.

To access via secure HTTP just type: https://ddns-name will do. Of course you still need to do port-forwarding on your router.
Title: Re: Can't acces my NAS out of my LAN
Post by: anderson_br on July 15, 2012, 08:59:29 AM
Albert, try this link for view pic: http://img690.imageshack.us/img690/908/capturarxms.png

Using https://xxx.dyndns.com it's works on my LAN out of LAN didn't work

thanks for help
Title: Re: Can't acces my NAS out of my LAN
Post by: albert on July 15, 2012, 05:10:22 PM
Albert, try this link for view pic: http://img690.imageshack.us/img690/908/capturarxms.png

Using https://xxx.dyndns.com it's works on my LAN out of LAN didn't work

thanks for help

Please ditch imageshack, it still show "Domain Unregistered".

Also re-check your port-forwarding settings.
Title: Re: Can't acces my NAS out of my LAN
Post by: anderson_br on July 15, 2012, 05:28:23 PM
strange, the link works for me usually ...
Here another link http://imageshack.us/photo/my-images/690/capturarxms.png

This is the router configuration:

Virtual server -> Port range forwarding

NO.   Start Port-End Port   To IP Address   Protocol   Enable   Delete
1.        443         443             192.168.0.150      TCP       Yes   
2.   -    21          21            192.168.0.150      TCP            Yes

          
Title: Re: Can't acces my NAS out of my LAN
Post by: albert on July 15, 2012, 05:41:19 PM
Before I comment further, is port-forwarding function on the Tenda router work for other application?

Your setup remind me of Linksys stock firmware, it doesn't have port-forwarding feature that allow redirecting of Source-Port to Target-Port. Source-port refer to port-no from the WAN (Internet) side going to the Target-port on the LAN side.
Title: Re: Can't acces my NAS out of my LAN
Post by: anderson_br on July 15, 2012, 05:55:22 PM
As I understand my router should have option to choose port internal / external, right?

My router does not seem to have this function, follow the description of the port forwarding section:

Port Range Forwarding

The Router Can Be configured as a virtual server on behalf of local services behind the LAN port. The given remote requests will be re-directed to the local servers via the virtual server. This section deals with the port range forwarding mainly. The Port Range Forwarding Allows you to set up kinds of public services such as web servers, ftp, e-mail and Other Specialized Internet applications on your network.
Title: Re: Can't acces my NAS out of my LAN
Post by: albert on July 15, 2012, 06:07:48 PM
To be frank, I not entirely sure what Port-Range Forwarding does since it doesn't redirect incoming port to the correct outgoing port for a specific device.

Correct me if I'm wrong but seem like Port-Range Forwarding is only good for devices within the LAN.

Best to check with the router manufacturer if they have a workaround for this. FYI, Linksys did release firmware upgrade to fix this.
Title: Re: Can't acces my NAS out of my LAN
Post by: anderson_br on July 15, 2012, 06:15:00 PM
Albert, thanks for all..

I check with Tenda about this question....Thanks so much for your help...
Title: Re: Can't acces my NAS out of my LAN
Post by: albert on July 15, 2012, 06:24:20 PM
Don't thank me yet as I could be wrong. According to PortForward.com, it seem like what you have done initially is correct, refer here (http://portforward.com/english/routers/port_forwarding/Tenda/W311R+/D-Link_DNS-320.htm).

I am assuming you're using a separate Internet connection to test the remote access. Also do verify with www.canyouseeme.org site to confirm if port 443 is indeed open.
Title: Re: Can't acces my NAS out of my LAN
Post by: anderson_br on July 15, 2012, 06:48:53 PM
Albert, thank you.

I had seen this link and follow the step by step but did not work.

Assign a static IP to the NAS and redirecionei doors as the step by step ..

I do not know what I have done every kind of setting, I used non-standard ports, have disabled firewall etc ...

Making the test site at which you gave me the result is:

"Error: Could I not see your service on port 201.XX.XX.XX on (443)
Reason: Connection refused "


Any non-standard port has the same error or timeout error ....

I do not know where the problem might be .... will the other router in repeater mode has anything to do with the problem?

Yes, I'm using a machine that has nothing to do with my ... separate connection, another network, another ISP, and finally "all other" to take the test ...

Thanks for your patience
Title: Re: Can't acces my NAS out of my LAN
Post by: albert on July 15, 2012, 06:53:56 PM
I can further confirm if you're comfortable in letting me know your DDNS domain name.

PM me the info.
Title: Re: Can't acces my NAS out of my LAN
Post by: anderson_br on July 15, 2012, 06:58:25 PM
Sended !!
Title: Re: Can't acces my NAS out of my LAN
Post by: albert on July 15, 2012, 07:17:38 PM
Already done the portscan test and PM you.

Post your firewall settings if possible.
Title: Re: Can't acces my NAS out of my LAN
Post by: albert on July 15, 2012, 08:15:04 PM
BTW, have you try putting your NAS in the DMZ? Just go to the DMZ Settings of your router and specify the NAS IP address and see if this work.
Title: Re: Can't acces my NAS out of my LAN
Post by: anderson_br on July 15, 2012, 08:21:17 PM
I've tried this configuration ..

I enabled the DMZ to local IP of the NAS, I reboot the router and did the test out of my LAN with no success .... also ..

I'll keep trying here ...

Thank you for your patience ...
Title: Re: Can't acces my NAS out of my LAN
Post by: albert on July 15, 2012, 08:27:57 PM
Putting the device in DMZ should work most of the time as it bypass any security/firewall and port-forwarding is no longer needed.

If there is newer firmware version for your router, you might want to upgrade it.
Title: Re: Can't acces my NAS out of my LAN
Post by: anderson_br on July 15, 2012, 08:29:47 PM
Albert, thank you once again, I will perform the tests tomorrow because today I can not ...

I post the results tomorrow, thanks!
Title: Re: Can't acces my NAS out of my LAN
Post by: anderson_br on July 16, 2012, 04:19:42 PM
I upgraded the firmware. The router firmware is version H1_V3.3.6d_EN, is the last.

I Habiliteio DMZ to the static IP of the NAS and still could not access it outside of my network .... is difficult ...

 :-\ :-\ :-\ :-\ :-\ :-\ :'(
Title: Re: Can't acces my NAS out of my LAN
Post by: anderson_br on October 11, 2013, 10:51:34 AM
I'm trying to set up again, can anyone help me?

 :P
Title: Re: Can't acces my NAS out of my LAN
Post by: anderson_br on August 04, 2014, 12:50:07 PM
I changed my ISP, I'll try again ahahahahaha
Title: Re: Can't acces my NAS out of my LAN
Post by: FurryNutz on August 04, 2014, 12:57:36 PM
Internet Service Provider and Modem Configurations

What Model # is the main host router?
Title: Re: Can't acces my NAS out of my LAN
Post by: JavaLawyer on August 05, 2014, 07:39:14 AM
I changed my ISP, I'll try again ahahahahaha

Were you able to access using the IP address from your new ISP?