Port forwarding through 2 routers
Port forwarding through 2 routers
I'm setting up a new blue iris system. My network has two routers, one from the ISP and a set from Deco that I'm using as expandable points for my network.
When trying to setup the webserver in blue iris it failed at the last step. Likely because I've got two routers setup.
My POE switch is connected through my Deco network (as is everything else).
From what I understand I need to port forward from the ATT router to my Deco router, and then also setup port forwarding there. But... having a little trouble doing that it seems. I'm using port 81, so on the ATT router I setup to port forward 81 and the device I'm forwarding to is the desktop computer where Blue Iris is setup. Maybe I'm doing that wrong? I'm not really great with port forwarding and networking in general.
When trying to setup the webserver in blue iris it failed at the last step. Likely because I've got two routers setup.
My POE switch is connected through my Deco network (as is everything else).
From what I understand I need to port forward from the ATT router to my Deco router, and then also setup port forwarding there. But... having a little trouble doing that it seems. I'm using port 81, so on the ATT router I setup to port forward 81 and the device I'm forwarding to is the desktop computer where Blue Iris is setup. Maybe I'm doing that wrong? I'm not really great with port forwarding and networking in general.
Re: Port forwarding through 2 routers
I'll add another wrinkle here.
The thought occurred to me to just hook up the POE switch to the first router, and have all that stuff on the ATT router, not the DECO. But for some reason the cameras don't load when I connect the switch to the first router via ethernet. I thiiiink the reason for this is that the server that blue iris is on also doesn't appear to be working right on that first network.
I figured I'd switch the POE switch to the ATT router, connect the server to the ATT router via wifi, and bam. But no luck. When running advanced IP Scanner I can see my reolink cameras while connected through the ATT router, BUT, the server I have setup is showing a status of grayed out or disconnected. So I'm assuming it's something related to that? I don't know how that happens though, because I'm completely connected to that ATT router from my server computer via wifi. Internet works and everything... Confused.
The thought occurred to me to just hook up the POE switch to the first router, and have all that stuff on the ATT router, not the DECO. But for some reason the cameras don't load when I connect the switch to the first router via ethernet. I thiiiink the reason for this is that the server that blue iris is on also doesn't appear to be working right on that first network.
I figured I'd switch the POE switch to the ATT router, connect the server to the ATT router via wifi, and bam. But no luck. When running advanced IP Scanner I can see my reolink cameras while connected through the ATT router, BUT, the server I have setup is showing a status of grayed out or disconnected. So I'm assuming it's something related to that? I don't know how that happens though, because I'm completely connected to that ATT router from my server computer via wifi. Internet works and everything... Confused.
Re: Port forwarding through 2 routers
Can you draw a picture of what is connected where ? Have you ended up with two routers trying to assign DHCP addresses on the same network ?
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
Problem ? Ask and we will try to assist, but please check the Help file.
Re: Port forwarding through 2 routers
I'm not sure if both routers are trying to assign DHCP addresses.
https://imgur.com/a/TXuOchp
The desktop is connecting via wifi to the deco router.
I've tried bypassing the deco router completely and just connecting directly to the ATT routerr, but for some reason the whole camera system goes down.
https://imgur.com/a/TXuOchp
The desktop is connecting via wifi to the deco router.
I've tried bypassing the deco router completely and just connecting directly to the ATT routerr, but for some reason the whole camera system goes down.
Re: Port forwarding through 2 routers
Ok - just updating my troubleshooting efforts.
I've since tried enabling IP passthrough on my ATT router, that hasn't helped.
I also tried putting the deco routers in access point mode. Doesn't work either.
The issue that I think is at the heart of this is my server isn't being seen in any of these circumstances except where it is connected to the deco router in router mode. Any other combinations and it doesn't get found by IP scanner tool. And that just doesn't make sense to me.
I would think the simplest solution would be to completely disregard the deco routers and connect everything through the ATT router. But again... my server itself isn't found on the IP scanner when I connect everything to the ATT router. How could that be?
I've since tried enabling IP passthrough on my ATT router, that hasn't helped.
I also tried putting the deco routers in access point mode. Doesn't work either.
The issue that I think is at the heart of this is my server isn't being seen in any of these circumstances except where it is connected to the deco router in router mode. Any other combinations and it doesn't get found by IP scanner tool. And that just doesn't make sense to me.
I would think the simplest solution would be to completely disregard the deco routers and connect everything through the ATT router. But again... my server itself isn't found on the IP scanner when I connect everything to the ATT router. How could that be?
Re: Port forwarding through 2 routers
Since the Deco routers are likely to form a rather useful mesh network, I suggest looking to see if you can disconnect the ATT router and plug in the Deco router instead. Some experimentation may be required - after researching if this is allowable/ the solution !
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
Problem ? Ask and we will try to assist, but please check the Help file.
Re: Port forwarding through 2 routers
Oh that's an interesting question. I have no idea if that's possible.TimG wrote: ↑Tue Mar 18, 2025 5:16 pm Since the Deco routers are likely to form a rather useful mesh network, I suggest looking to see if you can disconnect the ATT router and plug in the Deco router instead. Some experimentation may be required - after researching if this is allowable/ the solution !
The other thing I was going to try was to disable assigning dchp on the att router? Not sure if that'll help or not.
-
- Posts: 4
- Joined: Tue Dec 19, 2023 7:25 pm
Re: Port forwarding through 2 routers
I don't think you need two DHCP servers. When i've run across clients that are using a ISP provided modem/router and for whatever reason want to put another router behind the first, i just put the modem in a bridged mode. Then the ISP device becomes a modem and the second router handles all the routing.
Re: Port forwarding through 2 routers
To port forward, on the main router connected to the internet you create a rule so say if data comes in on a particular port forward it to this internal IP address and that is all you need to do.
So you Deco system shouldn’t really come into it unless your Deco system is issuing IP addresses on a separate network and is then routing traffic to and from your main router.
So what IP addresses are being issued by your main router and is what the Deco is using or issuing on the same network.
The other thing worth checking is are your provider issuing you with a public IP or a shared IP address also known as CGNAT? If you’re on CGNAT then you can’t ip forward.
So you Deco system shouldn’t really come into it unless your Deco system is issuing IP addresses on a separate network and is then routing traffic to and from your main router.
So what IP addresses are being issued by your main router and is what the Deco is using or issuing on the same network.
The other thing worth checking is are your provider issuing you with a public IP or a shared IP address also known as CGNAT? If you’re on CGNAT then you can’t ip forward.
Re: Port forwarding through 2 routers
Ok, so I appear to have fixed the problem and got the web server working.
The issue was, primarily, mostly, that the cameras and the pc were on a different subnet than each other. And then even when I put them on the Deco Router subnet together, they didn't work with the webserver. When I put them on the ATT router subnet though, they all worked and the web server worked. So I had to basically tell every camera to have a static IP on that ATT router subnet.
Here is my question/concern going forward. Next camera I plugin, I think by default it's going to be assigned an IP in the deco router subnet range. So I'll have to go on my desktop, change it's IP so I can see the camera. Change the IP of the camera. And then go back in and change the IP of the computer again before I can set it up in blue iris. Is there a way to tell my camera to default to the att router subnet first?
The issue was, primarily, mostly, that the cameras and the pc were on a different subnet than each other. And then even when I put them on the Deco Router subnet together, they didn't work with the webserver. When I put them on the ATT router subnet though, they all worked and the web server worked. So I had to basically tell every camera to have a static IP on that ATT router subnet.
Here is my question/concern going forward. Next camera I plugin, I think by default it's going to be assigned an IP in the deco router subnet range. So I'll have to go on my desktop, change it's IP so I can see the camera. Change the IP of the camera. And then go back in and change the IP of the computer again before I can set it up in blue iris. Is there a way to tell my camera to default to the att router subnet first?