Upcoming Maintenance Alert:

The UBNT Community will be upgraded at 5pm MDT on April 25th. During this time the community forums will be set to read-only status.

Learn more

×
Reply
Highlighted
New Member
Posts: 7
Registered: ‎06-20-2017

Multiple NVRs on a single LAN

Building 1:  NVR 3.5.2 with 15 cams on 172.1.1.x.  Internal access to the cams for users is great.  External access to the cams for users is easily achieved directly by using the Apple/Android app and directly connecting to port 7443.  (we have tried the Cloud app and it works ok, but is laggy.)

 

Building 2:  Next door to building 1.  Connected to the LAN via NanoStation M's and is also on 172.1.1.x.  We have tried the Cloud app for this site, but it is SUPER laggy and unsuable.  SO....we would like to use the direct connect method.  Since port 7443 is already being used for Building1NVR, we would like to change the listening port on Building2NVR.  I have been able to change that port to 7444 on the NVR, but when I do the cameras disconnect.  I suspect I need to be able to change the port on the cams to 7444 also, but am unable to find out how to do so.

 

Questions:

* How to change the listening port on the cameras to match the port the NVR was changed to

*  OR - is there a different/easier way to achieve this task?

Established Member
Posts: 1,143
Registered: ‎10-08-2014
Kudos: 352
Solutions: 101

Re: Multiple NVRs on a single LAN

7443/7444 is for client to the NVR.. the cameras dont use those ports. 

 

So as long you could specify a port forward & redirect.

So for NVR1:

 

Mobile Device - internet - router (port forward, 7443 > 172.1.1.10:7443 > NVR2

 

and for NVR2:

 

Mobile Device - internet - router (port forward, 7444 > redirect 172.1.1.11:7443 > NVR2

 

However whats the link speeds between the building and what is the actual utilization? Streaming 10 cameras will need say 10-30Mbps per user depending on quality settings so it may not be enough if also other users are streaming at the sametime.

Help the community by marking issues as solved when they are!

If you need some help or just someone to bounce ideas off on a project, please send requests/details to:
consult@think-networks.com
Ancient Member
Posts: 27,338
Registered: ‎05-05-2012
Kudos: 8536
Solutions: 1313

Re: Multiple NVRs on a single LAN

The two NVRs each have uniquie IPs so why do you need to change their ports?

New Member
Posts: 7
Registered: ‎06-20-2017

Re: Multiple NVRs on a single LAN

Thanks for the feedback!

 

I have the port fwds set as follows:

 

NVR1

Ext Port 1935 to 172.1.1.10:1935

Ext Port 7080 to 172.1.1.10:7080

Ext Port 7443 to 172.1.1.10:7443

 

NVR2

Ext Port 7444 to 172.1.1.20:7443

**  What do I do with 1935 and 7080 since they are in use for NVR1?

New Member
Posts: 7
Registered: ‎06-20-2017

Re: Multiple NVRs on a single LAN

I can connect remotely to this NVR and briefly see an image, but can get the stream.  I receive the following error:

 

 2017-07-17 10_05_05-crcoden.dyndns.org_3388 - Remote Desktop Connection.png

Established Member
Posts: 1,143
Registered: ‎10-08-2014
Kudos: 352
Solutions: 101

Re: Multiple NVRs on a single LAN

Are the cameras on the same subnet as the NVR? If not you are routing it which then puts all that traffic on the router.

You only need to forward ports for the camera if they are off-site and coming back into the network from the internet.

https://help.ubnt.com/hc/en-us/articles/217875218-UniFi-Video-Ports-Used

Also are you using Chrome? the streams won't work well in IE.

So per the link you also need 7446 to see the video streams back to the client.
Help the community by marking issues as solved when they are!

If you need some help or just someone to bounce ideas off on a project, please send requests/details to:
consult@think-networks.com
New Member
Posts: 7
Registered: ‎06-20-2017

Re: Multiple NVRs on a single LAN

Thanks again for the continued feedback!

 

Here is the update on the ports as they are configured in my firewall:

 

NVR1

Ext Port 7080 to 172.1.1.10:7080

Ext Port 7443 to 172.1.1.10:7443

Ext Port 7445 to 172.1.1.10:7445

Ext Port 7446 to 172.1.1.10:7446

Ext Port 7447 to 172.1.1.10:7447

 

NVR2

Ext Port 7448 to 172.1.1.20:7443

Ext Port 7449 to 172.1.1.20:7445

Ext Port 7450 to 172.1.1.20:7446

Ext Port 7451 to 172.1.1.20:7447

EXP PORT ???? TO 172.1.1.20:7446

EXP PORT ???? TO 172.1.1.20:7080

 

**  Not sure how to REuse 7446 and 7080 for NVR2...?  When I use a remote browser and go to:

https://mydomain.com:7448

It correctly forwards me to NVR2 and allows me to authenticate.  But, when I want to stream video it still demands port 7446 be open on the NVR to allow video streaming.  

 

According to the article you mentioned above on Video Ports Used, I thought 7446 on the NVR is open and ready to go.  If its actually referring to having the port forwarded in the router, port 7446 is already being fwd'd to NVR1.  What's a fella to do??

 

New Member
Posts: 7
Registered: ‎06-20-2017

Re: Multiple NVRs on a single LAN

Yes, cams on same subnet as NVR's. Using Chrome. See last post for followup info...
Established Member
Posts: 1,143
Registered: ‎10-08-2014
Kudos: 352
Solutions: 101

Re: Multiple NVRs on a single LAN

Ok so lets gets some details as maybe im not understanding you fully. You also didn't say about the bandwidth between the buildings. I am guessing up to 100Mbps however?

 

Lets test internally first before worring about outside.


So are you able to connect to the 2nd NVR no problems internally? So say while on the same network you can connect to https://NVR1:7443 and https://NVR2:7443 no problems right?

 

If that is the case then we can then proceed to trying to get the video feed to work externally.

 

As pointed out in the link however you only need few ports for Client to NVR communication. You dont need to port forward anything for internal communication, only externally. Since the cameras and NVR are on the same subnet then all communication is handled locally by switching, not the router.

Help the community by marking issues as solved when they are!

If you need some help or just someone to bounce ideas off on a project, please send requests/details to:
consult@think-networks.com
Emerging Member
Posts: 66
Registered: ‎01-25-2017
Kudos: 7
Solutions: 2

Re: Multiple NVRs on a single LAN

[ Edited ]

brian@itmtusa.com wrote:

 

It correctly forwards me to NVR2 and allows me to authenticate.  But, when I want to stream video it still demands port 7446 be open on the NVR to allow video streaming.  

 


Your issue is that NVR2 demands 7446, which your router already forwards to NVR1 according to your port forwarning rule.
So you have to change the video streaming port of NVR2 and port forward that to NVR2.

See this for how to change the ports https://help.ubnt.com/hc/en-us/articles/217875218-UniFi-Video-Ports-Used#custom

 

New Member
Posts: 7
Registered: ‎06-20-2017

Re: Multiple NVRs on a single LAN

* Yes, 150mb between the buildings
* Internally everything is peachy. No issues there.
* I see in the latest post that @cholzer as mentioned changing the video streaming port on NVR2 from 7446 to something else. Seems logical. Will try that and report back.
New Member
Posts: 7
Registered: ‎06-20-2017

Re: Multiple NVRs on a single LAN


cholzer wrote:

Your issue is that NVR2 demands 7446, which your router already forwards to NVR1 according to your port forwarning rule.
So you have to change the video streaming port of NVR2 and port forward that to NVR2.

See this for how to change the ports https://help.ubnt.com/hc/en-us/articles/217875218-UniFi-Video-Ports-Used#custom

 


When I login from outside the office to https://mydomain.com:7442, I have that port fwdd to NVR2:7443.  I am able to login and get authenticated and can see the NVR and cameras.  When I attempt to view the video stream from a camera, the WebUI reaches out to port 7446 by default to get the stream.  I have changed NVR2 port 7446 to 7448 and done the port fwding to NVR2:7448, but the WebUI is still requesting port 7446.Connecting to NVR2Connecting to NVR2

 

Can you look at my settings here on NVR2 and tell me if this is configured properly?

 

NVR2NVR2

Emerging Member
Posts: 66
Registered: ‎01-25-2017
Kudos: 7
Solutions: 2

Re: Multiple NVRs on a single LAN


brian@itmtusa.com wrote:

When I attempt to view the video stream from a camera, the WebUI reaches out to port 7446 by default to get the stream.  I have changed NVR2 port 7446 to 7448 and done the port fwding to NVR2:7448, but the WebUI is still requesting port 7446.

 

 


I have never tried custom ports myself, but what you report sounds like the WebUI might have 7446 hardcoded instead of asking NVR2 for the actual (custom) port.

Could you also test if the android or ios app of Unifi Video shows the same issue?

 

Seems like an issue that you should contact UBNT support about. Man Sad

Reply