Connect to a remote NVR
Is it possible to remotely connect to a NVR from Dahua. I have security Spy at home and a Dahua NVR at a weekend home and I would like to integrate everything in the security spy software.
Comments
-
I have an old Dahua NVR with 8 entries . It's easy to connect them to SSPY.
You can select the Dahua profile and select the correct stream number for each of your NVR entries.
or (manually)
For each entry, create a new cam in SSPY.
Entry 1: rtsp://nvr-ip:554/cam/realmonitor?channel=1&subtype=0
Entry 2: rtsp://nvr-ip:554/cam/realmonitor?channel=2&subtype=0
Entry 2: rtsp://nvr-ip:554/cam/realmonitor?channel=3&subtype=0
etc
-
Yes, the above will work with a manual configuration, or you could also use the Dahua profile that is built into SecuritySpy in order to add the streams.
However, you will first need to set up remote access into the NVR. This will involve the following steps:
- The NVR must have a fixed IP address on its local network.
- Then, you set up a port forwarding rule in the router there to forward incoming connections on port 554 to the NVR.
- You need either a fixed public (Internet) IP address, or you need to use a DDNS (Dynamic DNS service), for the internet connection at the weekend home. Most Internet connections provide dynamic IP addresses but some have the option of a fixed IP for an extra cost. If you have to use DDNS, then many routers offer this feature, so check the router to see what features it has in terms of DDNS.
You will also need to make sure that both Internet connections have the bandwidth available to accommodate the constant streaming of all the video streams. The bottleneck will probably be the upload bandwidth of the internet connection at the weekend home (upload speeds are usually far slower than download speeds). You may have to reduce the video quality or frame rate, or use substreams (which are typically much lower bandwidth).
Generally, it's much better to run SecuritySpy at the location where the cameras are, so all the video streaming is over the local network. Then, SecuritySpy can provide remote access features itself (it has built-in DDNS and automatic router port forward configuration).
-
Perfect, Thanks a lot. I will try it next time I go there. I have used ddns and port forwarding several times so I shouldn't have a problem. I will post how it went.
-
I will do a writeup on this at some point, but Tailscale solves all of these issues. Individuals can get a free account for up to 20 devices:
Justin
-
Hi Justin, great to hear that. Tailscale is a great solution for a private VPN. Some more info would be good to know - how did you add the Dahua NVR to your Tailscale network?
-
Hi Justin:
I don't have any computer at my weekend home. I don't see how to instal tail scale in the nvr or the router. I am fighting with my internet provider because the 554 port is not opening in my router.
Ricardo
-
Hi Ricardo, if the port 554 is being blocked at the ISP, you can try a different port. Usually, when creating a port forwarding rule in the router, you have the option to specify a different WAN (Internet) port vs. LAN (local network port). The LAN port is 554, because this is what the NVR uses for RTSP, but the WAN port can be anything you like, so you can choose a WAN port here that isn't being blocked by your ISP.
-
I don't know what my isp is doing but I am unable to open any ports in the modem GUI. I had similar problems in another location but if the command is sent by upnp it seems to work. Any idea how to send the command from a Mac. Has anyone tried mini upnp client and how if it works to send to the nvr and not my computer.
Please bear with me, even tough I am somewhat tech savvy I am an accountant
-
MiniUPnP looks like it could work, although maybe a bit tricky to set up and use. The MacPorts option may be the easiest way to get it installed. Alternatively, there are a couple of apps on the App Store (e.g. "Port Forwarding Wizard", "Port Mapper") however I don't know how good these are.
-
I finally was able to do it. My isp was less than helpful so I setted up DMZ to another router and forwarded the ports there and is working great.

