Jump to content

3 routers network config rewiev

Mr_KoKa

I had newer done network configuration beyond 1 router so I would like to ask if these configurations are right. First I had this:

image.png.6189fab49accabbb7875b08a0b9f73c9.png

All rotuers connected to eachother lan to lan, and dhcp only on the "internet" router. I had access to all 3 routers config from my pc and upnp worked.

The only thing I wanted to try was QOS on router where pc is connected, but QOS works only on WAN so I made this:

 

image.png.a9bd58f5d6550d079870fdaf1ecb48f9.png

Now internet router connects to the pc router lan to wan, to make upnp work i had to do dmz (internet router has no bridge mode available), that is my first concern but I think it is ok?

After setting dmz for the pc router I disabled upnp on internet router and enable upnp on pc router.

And all I wanted is still working, I can access configs of all 3 routers and upnp works, the question is, are those 2 configs correct, or should it have been done differently?

 

As of router on the left of the diagrams I don't care about it too much, its just a wifi for phones.

Link to comment
Share on other sites

Link to post
Share on other sites

24 minutes ago, Mr_KoKa said:

-snip-

What is the use case that requires you to utilize three WiFi routers (all broadcasting their own SSIDs) opposed to just additional Wireless Access Points?

There's plenty of room in this setup for things to be misconfigured or just not work properly.

Data Systems Administrator | Sergeant - US Marine Corps | CCNA / SEC+

Ryzen 9 5950x | 64 GB DDR4 3600Mhz | Gigabyte RTX 3080 Ti | Full Build Info | HomeLab Setup

Link to comment
Share on other sites

Link to post
Share on other sites

Not to mention the OP should disable UPNP ASAP..... Its one hack of a gaping hole in network security and does not worth the small convenience it provides.

Link to comment
Share on other sites

Link to post
Share on other sites

31 minutes ago, Mr_KoKa said:

-snip-

This is what I would do, assuming you need to have three AP's and two SSID's for a home network and for a guest / dmz / untrusted device network.
 

whatyoushoulddo.PNG.c9816635d36448aa5eb68f52f6d843a0.PNG

 

As far as products to achieve this go I would recommend the following;

 

TP Link Omada AC1350 x (however many AP's you want)

TP Link 5 Port POE Switch

 

and you can use any home router that supports multiple SSID's / a primary SSID and a DMZ.

Data Systems Administrator | Sergeant - US Marine Corps | CCNA / SEC+

Ryzen 9 5950x | 64 GB DDR4 3600Mhz | Gigabyte RTX 3080 Ti | Full Build Info | HomeLab Setup

Link to comment
Share on other sites

Link to post
Share on other sites

ye you're right I should give you some more details on use case,

the router on left is wifi 2.4ghz router at 20% transmition power,

the middle router is just does as a modem really, it has wifi turned off, but it's only thing i can attach LTE external antennas, I cannot use it's wifi because it makes phones to drain battery and instaed phone holding 4 days it holds less than one, idk why that is but adding that one router fixed it, i have two of these lte routers (separate devices, two different networks) and they both cause my phone to drain battery.

the last one router on the right is new wifi 6 router i want to be connected directly to it because the plan is to user quest 2 with it wirelessly, pc is wired to it.

 

I could get try and see if my phone is not unhappy with new wifi 6 router and make it also do 2.4 GHz wifi and it might not influence gameplay streaming on vr headset.

 

So what I thought i'm just redirect all internet incoming trafic to the router wher epc is connected and it will figure upnp that way, I don't need upnp on my phones. Without setting DMZ i'm behind double NAT, right? I had to forward port from LTE router to wifi6 router and from wifi router to PC

 

But if DMZ is wrongly applied here then I can disable it and forward ports manually on both rotuers, and also disable upnp and pick constant port for teredo so it wont use upnp and forward that manually

 

My main question for now is, does DMZ set up like i did makes jus tso wifi 6 router is exposed to internet like LTE router was before, and disabling DMZ would just change which router is exposed?

I really would like to know if first configuration diagram with "all lan" is correct, as I might just get back to that config at some point

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

4 hours ago, Mr_KoKa said:

double NAT, right?

No your likely on Triple NAT. Most cellular providers dont provide a public IPv4 address, I would assume unless you are paying for the privilege. 

I just want to sit back and watch the world burn. 

Link to comment
Share on other sites

Link to post
Share on other sites

Ye I'm paying, forgot about that 3rd possible nat and assumed just my routers at home

Link to comment
Share on other sites

Link to post
Share on other sites

11 hours ago, Mr_KoKa said:

Ye I'm paying, forgot about that 3rd possible nat and assumed just my routers at home

To me, this is an unnecessarily complicated setup. I wouldn’t have set it up in this way.

 

The ‘left’ and ‘right’ routers should NOT be running in router mode, especially because they’re on the same subnet; they should be running in AP mode. Then you don’t have to worry about DMZ/firewall/QoS as these things would be managed by the central router.

Link to comment
Share on other sites

Link to post
Share on other sites

left router cannot be run in AP mode, right can but I'm not sure if QOS is ran then, would have to check

last time (first diagram) QOS was not working if internet connection was via lan port instead of wan port

 

only router on the right is capable of QOS, and only middle one is capable of LTE, the left one is redundant but it works for now.

 

From what I have read by a quick google QOS works only on wan

Link to comment
Share on other sites

Link to post
Share on other sites

25 minutes ago, Mr_KoKa said:

From what I have read by a quick google QOS works only on wan

That may be but you want 3 layers of NAT? 

I just want to sit back and watch the world burn. 

Link to comment
Share on other sites

Link to post
Share on other sites

33 minutes ago, Mr_KoKa said:

From what I have read by a quick google QOS works only on wan

QoS is ignored on the WAN from your LAN.

Current Network Layout:

Current Build Log/PC:

Prior Build Log/PC:

Link to comment
Share on other sites

Link to post
Share on other sites

First layer of nat from LTE is taken cared of by paying for public ip, so ther ei sno nat there (or is it but just forwarded/different type?)

 

Then I'm left with 2 layers of nat, one on LTE router and another where LTE router connects to WAN port.

 

So its not that I want that second nat, but since qos requires me to connect internet to wan port the second nat is side effect of that.

To skip LTE router nat I do DMZ and pointing the QOS router.

 

I might not understand DMZ, but isn't that just like forwarding all ports to one ip?

And then is it much different than just connecting QOS router to internet directly? (which I would do if I could but I have to use LTE part of first router)

 

8 minutes ago, Lurick said:

QoS is ignored on the WAN from your LAN.

I don't know if I understood you, but I know that QOS only works for devices connecting to the QOS router, I know it wont make any change for devices connected directly to LTE router or router on the left.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Mr_KoKa said:

I don't know if I understood you, but I know that QOS only works for devices connecting to the QOS router, I know it wont make any change for devices connected directly to LTE router or router on the left.

Correct, I thought you were trying to say QoS would work past your router onto the internet. QoS is only going to work where it's honored on the local network.

Current Network Layout:

Current Build Log/PC:

Prior Build Log/PC:

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, Mr_KoKa said:

So its not that I want that second nat

Cant you just add static routes? In that case only the main LTE router would do NAT, after setting up the static routes you can disable nat and firewall  on the rest of the routers.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, jagdtigger said:

Cant you just add static routers? In that case only the main LTE router would do NAT, after setting up the static routes you can disable nat and firewall  on the rest of the routers.

What would that require? I have my WAN connection type set to static ip 192.168.8.50

but turning off NAT makes me unable to reach LTE router (no ping to router reaches, no internet)

Link to comment
Share on other sites

Link to post
Share on other sites

23 minutes ago, Mr_KoKa said:

What would that require? I have my WAN connection type set to static ip 192.168.8.50

but turning off NAT makes me unable to reach LTE router (no ping to router reaches, no internet)

Because without NAT the main LTE router does no know what to do with traffic destined to the subnet behind the 2nd router. It does not "know" it exists and that it should use the 2nd router as a gateway to it. This is for ddwrt but the setup should be similar on every router:
https://wiki.dd-wrt.com/wiki/index.php/Linking_Subnets_with_Static_Routes

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, jagdtigger said:

Because without NAT the main LTE router does no know what to do with traffic destined to the subnet behind the 2nd router. It does not "know" it exists and that it should use the 2nd router as a gateway to it. This is for ddwrt but the setup should be similar on every router:
https://wiki.dd-wrt.com/wiki/index.php/Linking_Subnets_with_Static_Routes

I think I won't be able to do that with the LTE router, just to be sure, the static route would have to be set on LTE router and point to QOS router?

that LTE router is very modest in configuration options.

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, Mr_KoKa said:

just to be sure, the static route would have to be set on LTE router and point to QOS router?

Yes.

 

5 minutes ago, Mr_KoKa said:

that LTE router is very modest in configuration options.

If a crappy tplink router had that option it would be a pretty bad omen if that LTE thingy does not have it... 😉

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, jagdtigger said:

Yes.

 

If a crappy tplink router had that option it would be a pretty bad omen if that LTE thingy does not have it... 😉

ye, its huewei 525s-25a, it has least options of the 3 but is the only one with LTE support (modem and external antennas),

so in that case would the dmz be ok to use? or will it cause performance/security issue?

Link to comment
Share on other sites

Link to post
Share on other sites

7 minutes ago, Mr_KoKa said:

ye, its huewei 525s-25a, it has least options of the 3 but is the only one with LTE support (modem and external antennas),

so in that case would the dmz be ok to use? or will it cause performance/security issue?

You could always see if the LTE router has bridge mode or IP pass thru mode. That essentially will make it in to a standard modem and then you can hook up your fancy router with QoS with out extra layers of NAT. 

I just want to sit back and watch the world burn. 

Link to comment
Share on other sites

Link to post
Share on other sites

13 minutes ago, Mr_KoKa said:

ye, its huewei 525s-25a, it has least options of the 3 but is the only one with LTE support (modem and external antennas),

Didnt found anything useful, maybe your ISP could help... 😕  I hate ISP provided equipment, more often than not its some customized e-waste without any info floating around the net. And even if it is a standard thingy they can sill screw you by disabling the webui(<- my ISP does this with the cable modem they provided).

Link to comment
Share on other sites

Link to post
Share on other sites

no i had to buy that one 😛 ISP did not provide anything with external GSM antennas. From ISP I got usb stick ;]

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Mr_KoKa said:

no i had to buy that one 😛 ISP did not provide anything with external GSM antennas. From ISP I got usb stick ;]

See if you had the USB stick, the router I have the Synology RT2600 AC could use that via its USB port. On top of the fact the router can dedicate or limit bandwidth per device. Its kinda neat, I dont use the feature but its kinda neat. The problem is many LTE gateways are just limited if they come from the ISP or not. 

I just want to sit back and watch the world burn. 

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Donut417 said:

See if you had the USB stick, the router I have the Synology RT2600 AC could use that via its USB port. On top of the fact the router can dedicate or limit bandwidth per device. Its kinda neat, I dont use the feature but its kinda neat. The problem is many LTE gateways are just limited if they come from the ISP or not. 

Nah, I use external antenna on cable connected to lte router, usb stick modem has no antenna port

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Mr_KoKa said:

Nah, I use external antenna on cable connected to lte router, usb stick modem has no antenna port

I didnt say the USB stick had antenna ports,  but the fact is the USB stick would be easier to use, because there are good routers that do offer LTE connectivity via the USB port. LTE Gateways like you have are limited and you will likely never be able to properly configure thru double NAT. So I hope you dont plan to game or host any servers because that likely is going to be very difficult or impossible in the configuration you choose to use. 

I just want to sit back and watch the world burn. 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×