Thursday, October 1, 2015

Access Hikvison IP Camera Directly

Here is how to access your IP camera's directly through the NVR. In this setup the IP Cameras are connected to a Hikvision NVR without virtual host feature.

Note: Your IP address setup may differ, so I will explain the IP Scheme. Also you will have to set your IP cameras to have static IP addresses configured on the web interface of each camera, then add to the NVR manually instead of Plug and Play.



NVR is connected to your home router with the IP of 192.168.1.200 for example, so your laptop connected to WiFi would have IP of for example 192.168.1.210 on the same subnet as your NVR.

Now your cameras are connected to the POE ports at the back of your NVR. The Cameras have an IP such as:

CAMERA 1 - 192.168.20.10
CAMERA 2 - 192.168.20.11
CAMERA 3 - 192.168.20.12
CAMERA 4 - 192.168.20.13

And the NVR's IP Address for the Internal NIC would be on the same subnet as the IP Cameras such as 192.168.20.1.

Set the IP Cameras default gateway to that of the IP Address under Internal NIC IPv4 Address in the Network Configuration page of the NVR (might not be visible from web interface, connect to the NVR directly using HDMI/VGA and mouse).


Once the Cameras IP address and default gateway is configured and the cameras have added to the NVR manually and can be viewed through the NVR. You can Telnet into the NVR and enter the command:  
echo 1 > /proc/sys/net/ipv4/ip_forward 

Now you should be able to type in the IP Address of the IP camera in your web browser and access the cameras directly. http://192.168.20.10

Note: You will have to re-enter the command "echo 1 > /proc/sys/net/ipv4/ip_forward " if the NVR ever reboots.

If this does not work for you, you may have to setup a static route in your router such as:

Destination LAN: 192.168.20.0
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.200

Personal Media Organizer: digiKam

Looking to replace cloud solutions such as Google Photo's, ACDSee and Adobe with an offline application that won't have your persona...