Orbi WiFi 7 RBE973
Reply

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

nUUK25
Tutor

Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

Hello,

 

I am on uncharted waters - I only know how to setup wireless: set password, naming the flag and enable encryption. I have no experince in Port Forwarding and what it does. According to Zyxel NAS support; in order to make the Service: Web Publishing function on my Zyxel NAS326, I need to port forward on the Netgear router: Port no. 5000 must be open and set this up with upd and tcp protocol on the router.

How do I do this ?

Right now, I have access to the files on the shared folder I have web Published, from all the PC which are on the  LAN - The address format which the NAS has created looks like this: http://[server-name:5000]/MyWeb/Public ....where the folder; 'Public' is shared. On that address; files are visible in a browser and they can open and be saved if need be on the LAN. I need them to be accessable for the rest of the world !! If I try the same URL from an 'external' internet based PC, there are no web-page to be seen.

Hope you can help out here  :O)   Lars

Model: R7800|Nighthawk X4S AC2600 Wifi Router
Message 1 of 23

Accepted Solutions
nUUK25
Tutor

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

Hello Antinode,

 

I just want to thank you for all your help - It has been most pleasant and a great leaner for me.

 

Best regards    Lars

View solution in original post

Model: R7800|Nighthawk X4S AC2600 Wifi Router
Message 22 of 23

All Replies
antinode
Guru

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

> [...] I have no experince in Port Forwarding and what it does. [...]

 

   That will need to change.  Port forwarding is what the router does to
deal with a message which arrives at its WAN/Internet port from the
outside world.  Your ISP has assigned one (external) IP address to your
whole installation; either you or your router has assigned an entirely
different (LAN) IP address to each device on your LAN.

 

   If someone in the outside world wants to send a message to a device
on your LAN, all he can do is send it to your router.  How, then, does
the router know what to do with that message?  To which of your devices
(if any) should it forward that message?

 

   A port-forwarding rule is what tells the router what to do with such
a message.

 

> [...] http://[server-name:5000]/MyWeb/Public [...]


   More precisely:

 

      http://[server-name]:5000/MyWeb/Public [...]

 

   Note that your "[server-name]" could also be your external IP
address instead of a DNS name.

 

   That "5000" is the relevant port number.  You can think of it as like
an apartment number after a street address (IP address).  In this case,
you'd want a port-forwarding rule like:

 

      Service Type: TCP+UDP
      External port range: 5000
      Internal port range: 5000
      Server IP Address: <LAN_IP_address_of_NAS>

 

   That implies that the NAS device needs a fixed LAN IP address, which can
be arranged at ADVANCED > Setup LAN Setup : Address Reservation.


   With such a rule in effect, when a message destined for port 5000
arrives at your router's WAN/Internet port, the router will forward it
to the device at <LAN_IP_address_of_NAS>.  When that device sends a
reply to that message, the router will handle the reply, ensuring that
it returns to the outside-world device which sent the original message.

 

   It's important that the IP address of the WAN/Internet on your router
match your public (external) IP address. If there's another router
between yours and the Internet (which could be a second router at your
site, or at your ISP's site) then you can expect problems.


   As you might guess, you could specify different external and internal
port numbers in your port-forwarding rule.  The external port number is
what is used in the outside world; the internal port number is what is
used on your LAN.  So, for example, if you had a second NAS device, you
could create a rule like:

 

      Service Type: TCP+UDP
      External port range: 5001
      Internal port range: 5000
      Server IP Address: <LAN_IP_address_of_NAS-2>

 

Then, a URL like the following would reach "NAS-2":

 

      http://[server-name]:5001/MyWeb/Public [...]

 

   On your LAN, NAS-2 would still use port 5000, but, because of that
port-forwarding rule, it would be seen at port 5001 from the outside
world.

Message 2 of 23
nUUK25
Tutor

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

 

Hello, ...and thanks for the answer; Antinode, which open up some core issues: 

You mention that the IP which my router receives from my ISP should be static and I have a suspision that is not the case !! In general, I check ip with IPCONFIG in CMD. If I unplug the router and plug in a PC on the wall it gets nearly the same ip (except for one digit) as what the router gets. Similarly another PC get another ip, 2 digits away from the router ip which tells me they are all assigned dynamically. The final straw is; if I try to ping the router IP address from a PC which connects to the internet over the mobilenetwork; USB-modem, it states; 'reply from 10.117.15.173: Distination net unreachable' ......Which I interpret; the router do not get a real external IP addresse and it matches the fact that my ISP advertise on their website that I can buy a fixed IP address for a minor one time payment.

Antinode, am I on the right path, you think ?

Model: R7800|Nighthawk X4S AC2600 Wifi Router
Message 3 of 23
schumaku
Guru

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router


@nUUK25 wrote:

...if I try to ping the router IP address from a PC which connects to the internet over the mobilenetwork; USB-modem, it states; 'reply from 10.117.15.173: Distination net unreachable' ......Which I interpret; the router do not get a real external IP addresse  ...


If your R7800 does show the same RFC1918 address on the Advanced -> Internet port IP address information, this is correct.

Message 4 of 23
nUUK25
Tutor

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

 

Yes, the address is 10.168.50.157 in the router > Basic > Internet > Interet setup > internet ip address. I get 10.168.50.156 to a pc connected to the wall plug and another pc gets ip: 10.168.50.158

If I ping 10.168.50.157 from a usb-modem connected PC i get the message: 'reply from 10.117.15.173: Distination net unreachable'

An externet real static public ip for the router should be pingable I suppose !

 

So I should buy myself a static ip address from my ISP ?

Model: R7800|Nighthawk X4S AC2600 Wifi Router
Message 5 of 23
antinode
Guru

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

> [...] 10.117.15.173 [...]

 

   "10.a.b.c" is a non-routable, private address.

 

      https://whois.arin.net/rest/net/NET-10-0-0-0-1/pft?s=10.117.15.173

 

> [...] my ISP advertise on their website that I can buy a fixed IP
> address for a minor one time payment.

 

   If you want to run a server which can be reached from the outside
world, then a public IP address would be helpful.  A fixed, public IP
address would be even more helpful.

 

> An externet real static public ip for the router should be pingable I
> suppose !

 

   Yup.  But see: ADVANCED > Setup > WAN Setup > Respond to Ping on
Internet Port.

 

> So I should buy myself a static ip address from my ISP ?


   Sounds right to me.

Message 6 of 23
nUUK25
Tutor

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

 

Thanks for the hint !! The 'Respond to Ping on Internet Port.' was not enabled. It is now for testing when I get the public IP from my ISP.

As it is now my NAS is on the router and gets an ip: 192.168.1.6

When I get a public fixed IP for the router would I be able to do the following setup: Connect a switch to the wall plug and connect the router to one switch port and the NAS to another switch port. Configuring the connection path in the NAS to that static IP plus service port no. 5000 and so on, before I do the switch setup! Leaving the router to get the same IP as the NAS ! Would that not be more safe for the rest of the network (LAN) ? I will have to put the NAS back on the LAN each time for login if I want to make changes in it and I will not have the usual LAN advantages; data backup and so forth ! ..... but will it work as an independant server other than that ? Or am I just making things complicated for myself !!  

Model: R7800|Nighthawk X4S AC2600 Wifi Router
Message 7 of 23
antinode
Guru

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

> As it is now my NAS is on the router and gets an ip: 192.168.1.6

 

   Is that a reserved address?  (It probably sould be.)

 

> When I get a public fixed IP for the router would I be able to do the
> following setup: Connect a switch to the wall plug and connect the
> router to one switch port and the NAS to another switch port. [...]

 

   No.  If your ISP gives you one external/public IP address, then it
must go to the router's WAN/Internet port.  All your other devices must
be connected to the router LAN ports (directly, or through a switch).

 

> [...] Configuring the connection path in the NAS [...]

 

   You lost me.

 

> [...] Or am I just making things complicated for myself !!

 

   You seem to be.

Message 8 of 23
nUUK25
Tutor

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

Hello,

 

Yes, the NAS IP: 192.186.1.6 is locked in the router by me. All other IP on the LAN are done by DHCP. I will stick with the NAS on LAN solution.  I am not sure if the fixed ip for the NAS has any porpose now where the focus will be on the external IP for the router. Maybe I should keep it for stability. Just so I get it right; when I get the external IP for the router from my IPS: the URL the internet users should use in order to access the files in the shared folder: 'Public' on the NAS is >  http://[new IP for router]:5000/MyWeb/Public   ?

Model: R7800|Nighthawk X4S AC2600 Wifi Router
Message 9 of 23
antinode
Guru

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

> Yes, the NAS IP: 192.186.1.6 is locked in the router by me. All other
> IP on the LAN are done by DHCP. [...]

 

   If "locked in the router" means Address Reservation, then it's still
using DHCP.  But a reserved address should be fixed enough.

 

> [...] I am not sure if the fixed ip for the NAS has any porpose now
> where the focus will be on the external IP for the router.

 

   If you're using a port-forwarding rule with the LAN IP address of the
NAS in it, then the NAS had better be at that address.

 

> [...] Maybe I should keep it for stability. [...]

 

   You should keep it if you want your port-forwarding rule to work.


> [...] when I get the external IP for the router from my IPS: the URL
> the internet users should use in order to access the files in the shared
> folder: 'Public' on the NAS is > http://[new IP for
> router]:5000/MyWeb/Public ?

 

   Sounds right to me.

Message 10 of 23
nUUK25
Tutor

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

I have ordere a public IP address for the router at my ISP. It will take up to 5 days to implement.

Best Regards    Lars

Model: R7800|Nighthawk X4S AC2600 Wifi Router
Message 11 of 23
nUUK25
Tutor

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

 

Hello everybody  ;o)

 

I have received my external IP address for my router now from my ISP and it works. I can ping it !!

 

The web link to my Web Service with server-name does not work correctly because I need to put up a DNS (servername binding to the IP-address) - that is what  the support for my Zyxel NAS tells me.

 

Server-name = Airwork-NAS

 

http://Airwork-NAS:5000/Myweb/Public

 

http://[new IP address]:5000/Myweb/Public

 

Where and how in the Netgear router should I do the setup ?

 

Best Regards Lars

Model: R7800|Nighthawk X4S AC2600 Wifi Router
Message 12 of 23
antinode
Guru

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

> The web link to my Web Service with server-name does not work
> correctly because I need to put up a DNS (servername binding to the
> IP-address) - that is what the support for my Zyxel NAS tells me.

 

   Which "The web link to my Web Service"?  What happens if you specify
your new public IP address instead of a name?

 

> http://[new IP address]:5000/Myweb/Public

 

   Like that.  Does that work?  It should, if you have a good port
forwarding rule configured on your router (and all your other
information is right).  I'd get thet to work before I worried about
using a name instead of the address.

 

> Server-name = Airwork-NAS

 

   That's not a legal domain name.  If your new public IP address is
fixed (not changing), and if you want to create your own domain, then
you might start with a Web search for terms like:

      domain name registrar

 

   You don't need to do anything with your router to do that.

 

   If your new public IP address is dynamic (that is, it could change),
or if you are willing to use a DDNS domain name, then visit
http://netgear.com/support , put in your model number, and look for
Documentation.  Get the User Manual.  Look for "Set Up a New Dynamic DNS

Account".

Message 13 of 23
nUUK25
Tutor

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

 

Hello Antinode,

 

"What happens if you specify
your new public IP address instead of a name ?"  It connects to the NAS and shows the service (files and folders) on a webpage on the internet.

The problem is there are no substituting between "the new ip address for the router" and the server-name in the link-URL which is given by the NAS > "Airwork-NAS".

In other words this will give acces to the files from the internet:

http://[new ip address]:5000/Myweb/Public

This will not give acces to the files from the internet:

http://Airwork-nas:5000/Myweb/Public

 

The Zyxel NAS support writes this and I do not understend the implications:

"We have no issues reaching http://[new ip address]:5000/Myweb/Public we were able to reach it and see the files. have you tried setting a DNS to your public IP? The server DNS is made to work inside your network since you will need to use public ip to reach it from the outside you will need to put that under a DNS." I have substitutet the real IP numbers with: [new ip address] in the quote.

I have port forwarding setup in the router for the NAS ip: 192.168.1.6 and 5000 and TCP/UDP. Also, In LAN Setup: the ip for the NAS is locked to 192.168.1.6

 

I am aware that Airwork-NAS is not a domain-name, there is no dot + suffix. "Airwork-NAS" is the NAS servername the NAS has given part of the URL whish points to the Web Publishing service. Originally it had the name NAS326, but all the same models of this NAS get that Server-name to the service: Web Publishing. I just changed it to: Airwork-NAS because I could do so.

 

How do i make this URL http://AirWork-NAS:5000/Myweb/Public    work from the internet ?

Should I still look for "Set up a new Dynamic DNS Account" in the router manual ?

 

Best Regards 

Lars

Message 14 of 23
antinode
Guru

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

> [...] It connects to the NAS and shows the service (files and folders)
> on a webpage on the internet. [...]

 

   As I read that, everything about port forwarding works properly.
(Which is good,)

 

> [...] "We have no issues reaching http://[new ip
> address]:5000/Myweb/Public we were able to reach it and see the files.
> [...]

 

   And Zyxel NAS support seems to agree.

 

> [...] The problem is there are no substituting between "the new ip
> address for the router" and the server-name in the link-URL which is
> given by the NAS > "Airwork-NAS".

 

   Ok.  That's a DNS problem.  A name like "Airwork-NAS" may work on
your LAN, but it means nothing in the outside world.


> I am aware that Airwork-NAS is not a domain-name, [...]

 

   And a valid domain name is what you need in the outside world.

 

> How do i make this URL http://AirWork-NAS:5000/Myweb/Public work
> from the internet ?

 

   You can't.  From the outside world, you need to use a valid domain
name, and "AirWork-NAS" is not a valid domain name.

 

> Should I still look for "Set up a new Dynamic DNS Account" in the
> router manual ?

 

   That's one possibility. The other one (still) is:

 

> [...] If your new public IP address is
> fixed (not changing), and if you want to create your own domain, then
> you might start with a Web search for terms like:
>
>       domain name registrar
>
>    You don't need to do anything with your router to do that.

Message 15 of 23
nUUK25
Tutor

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

Hello,

 

Ocay, I have to combine a domain-name with the router ip and register on a DNS-.server. Normally you have to buy a domain-name and pay anually. Does NetGear have a service-solution for it's useres (read: router owners) where one can get/use a silly domainname of theirs for my purpose and not have to pay for it ?

 

Regards Lars 

Model: R7800|Nighthawk X4S AC2600 Wifi Router
Message 16 of 23
antinode
Guru

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

> [...] Does NetGear have a service-solution for it's useres (read:
> router owners) where one can get/use a silly domainname of theirs for my
> purpose and not have to pay for it ?

 

>    If your new public IP address is dynamic (that is, it could change),
> or if you are willing to use a DDNS domain name, then visit
> http://netgear.com/support , put in your model number, and look for
> Documentation.  Get the User Manual.  Look for "Set Up a New Dynamic DNS
> Account".

 

   Still one of my suggestions.

Message 17 of 23
nUUK25
Tutor

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

Hello,

...So, lets say I chose and register the DDNS: Airwork-NAS.mynetgear.com.....the URL for the Web Service in the NAS which I should pass on the external / internet users for NAS access, will be Airwork-NAS.mynetgear.com:5000/Myweb/Public  ?

 

All the best   Lars

 

 

Model: R7800|Nighthawk X4S AC2600 Wifi Router
Message 18 of 23
antinode
Guru

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

> [...] the URL for the Web Service in the NAS which I should pass on
> the external / internet users for NAS access, will be
> Airwork-NAS.mynetgear.com:5000/Myweb/Public ?

 

   If a URL like that with your public IP address works, and that DNS
name ("Airwork-NAS.mynetgear.com") is resolved to your public IP
address, then that URL should work.

Message 19 of 23
nUUK25
Tutor

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

Hello Antinode,

 

The following web-link works for me from a USB-modem giving access to the internet over the mobilenet:

 

http://Airwork-Nas.mynetgear.com:5000/myweb/public 

 

Can you confirm that you can see test-files on a webpage and open / download them (right click) ?

 

Best regards    Lars

 

Regards  Lars

 

Message 20 of 23
antinode
Guru

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

> Can you confirm [...]

 

   I see a page which says:

        Name                Last modified        Size
[DIR]   Parent Directory                            -
[DIR]   Live Recordings/    10-Aug-2019 20:25       -
[ ]     1.JPG               09-Aug-2019 20:15     31K
[ ]     piano2.wav          09-Aug-2019 21:18    1.2M

   "1.JPG" and "piano2.wav" are accessible.  No files under "Live
Recordings/".

 

   It seems to be working.  (What could go wrong?)  If you can find a
log file for that web server, then you should be able to gather more
information.

Message 21 of 23
nUUK25
Tutor

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

Hello Antinode,

 

I just want to thank you for all your help - It has been most pleasant and a great leaner for me.

 

Best regards    Lars

Model: R7800|Nighthawk X4S AC2600 Wifi Router
Message 22 of 23
nUUK25
Tutor

Re: Web Publishing Service on Zuxel NAS326 and Port Forwarding on Netgear Router

Hello Antinode,

 

I just want to thank you for your help - It has been a great leaner for me.

 

All the best from Lars

Message 23 of 23
Top Contributors
Discussion stats
  • 22 replies
  • 7362 views
  • 0 kudos
  • 3 in conversation
Announcements

Orbi WiFi 7