Reply

Port Forward through 2 routers on different subnets

ben_jaminnash
Aspirant

Port Forward through 2 routers on different subnets

Hello all,

The end goal of my project is to port forward a server I am running locally to the internet so that it can be accessed from anywhere. Here's my setup:

 

Modem -> Belkin Router -> Netgear Router -> PC

 

Attached to the modem is a Belkin F9K1119v1 router with the internal IP 192.168.2.1. I cannot change this router's subnet nor it's location as it's not mine. I can port forward through it as needed. Off of that Belkin router router is a LAN cable attached to my router, a Netgear Nighthawk 6900P with an internal IP 192.168.1.1. I have full control of this router. Attached to the Nighthawk is a comptuer running the server I want to forward to the internet. 

 

My question is, how do I set up port forwarding through two routers with different subnets. I was able to make it work (kinda) by moving my Nighthawk to the 195.168.2 subnet and connecting the LAN cable from the Belkin router to a LAN port on the Netgear router instead of to it's WAN port. The problem was that I then lost the ability to connect to the Nighthawk's GUI and I couldn't find it's IP. I want to have my own LAN and WiFI networks from the Nighthawk at the end. 

 

I hope this is possible and that I can get some advice. Thank's in advance!

Model: R6900P|Nighthawk AC1900 Smart WiFi Dual Band Gigabit Router
Message 1 of 3
antinode
Guru

Re: Port Forward through 2 routers on different subnets

> Modem -> Belkin Router -> Netgear Router -> PC

 

   Why two routers?

 

> [...] how do I set up port forwarding through two routers with
> different subnets. [...]

 

   The usual way is not to use two routers with different [LAN] subnets;
rather to use one router and one wireless access point.

 

   Visit http://netgear.com/support , put in your model number, and look
for Documentation.  Get the User Manual.  Read.  Look for "Use the
Router as a WiFi Access Point".

 

> [...] I was able to make it work (kinda) by moving my Nighthawk to the
> 195.168.2 subnet and connecting the LAN cable from the Belkin router to
> a LAN port on the Netgear router instead of to it's WAN port. [...]


   You might have fewer problems if you followed the documented
procedure.

 

> [...] I want to have my own LAN and WiFI networks from the Nighthawk
> at the end.

 

   Configuring your router as a WAP would put everything on one LAN
subnet.

 

   You could try configuring port forwarding in two steps, on both
routers (the outer router forwarding to the inner router; the inner
router forwarding to the actual server), but I would not bet that that
can be made to work.

 


> [...] some advice [...]

 

   Your apostrophe usage is terrible.  In "it's location as it's not
mine", they can't both be right.  "Thank's"?

 

      https://en.wikipedia.org/wiki/Eats,_Shoots_%26_Leaves

Message 2 of 3
ben_jaminnash
Aspirant

Re: Port Forward through 2 routers on different subnets

There are two routers because I don't own the modem or belkin router, the landlord does. The house has one cable connection but several units, each with their own wifi network. Thus, we need separate routers. I recognize that this problem would be easily solved by setting our router as an AP but I want to have complete control over my network and not simply to repeate the network from the Belkin router. 

 

Sorry about the apostrohe. 

Message 3 of 3
Top Contributors
Discussion stats
  • 2 replies
  • 423 views
  • 0 kudos
  • 2 in conversation
Announcements

Orbi WiFi 6E