Changes

no edit summary
Line 26: Line 26:  
<b>Configuration scheme</b>
 
<b>Configuration scheme</b>
   −
[[File:Hikvision_configuration_scheme_1_v3.png|1154px]]
+
[[File:Hikvision_configuration_scheme_1_v4.png|778px]]
 
----
 
----
 
<b>Overview</b>
 
<b>Overview</b>
    
The cameras and the NVR are connected via Ethernet cables to a PoE switch, which is connected to an RUT router, placing all devices in the same LAN. The RUT router is connected to a VPN making the network reachable to other VPN clients. The end user then connects to the NVR via the VPN IP address of RUT using the <b>Hik-Connect</b> smartphone app.
 
The cameras and the NVR are connected via Ethernet cables to a PoE switch, which is connected to an RUT router, placing all devices in the same LAN. The RUT router is connected to a VPN making the network reachable to other VPN clients. The end user then connects to the NVR via the VPN IP address of RUT using the <b>Hik-Connect</b> smartphone app.
<!--
  −
==Step 1: configure VPN==
     −
First we will configure a VPN client on the router. A VPN connection will provide remote access to the router's local network and ensure data security. If your router has a [[Private_and_Public_IP_Addresses#Static_IP_address|static public IP address]], you can access it without the help of VPN. However, it is not recommended because the absence of VPN leaves the camera's vulnerable on an unsafe public network with nothing but password protection.
  −
  −
The configuration will depend on the type of VPN that is available to you. You can find various VPN configuration guides [[VPN_Configuration_Examples|here]]. For this guide we'll be using OpenVPN ([[OpenVPN_configuration_examples|click here]] for OpenVPN examples).
  −
  −
Once you set up a VPN connection or if you chose to skip this part and use the router's public IP instead, you can advance on to the next step.
  −
-->
   
==Step 1: configure the NVR and cameras==
 
==Step 1: configure the NVR and cameras==
   Line 52: Line 44:  
If this is the first time that you are connecting to the device, you will be required to create a user. Just follow the prompts and after you have successfully logged in go to the <b>Configuration</b> page (top left corner of the page) and navigate to the <b>Network → Basic Settings → TCP/IP</b> section. You can change the IP address from here, by editing the value of the <b>IPv4 Address</b> field:
 
If this is the first time that you are connecting to the device, you will be required to create a user. Just follow the prompts and after you have successfully logged in go to the <b>Configuration</b> page (top left corner of the page) and navigate to the <b>Network → Basic Settings → TCP/IP</b> section. You can change the IP address from here, by editing the value of the <b>IPv4 Address</b> field:
   −
[[File:Hikvision_change_camera_ip_v1.png]]
+
[[File:Hikvision_change_camera_ip_v2.png]]
    
Configure different IP addresses for all devices that you may be using and advance to the next step.
 
Configure different IP addresses for all devices that you may be using and advance to the next step.
<!--
  −
==Step 2: configure Port Forwarding==
  −
  −
<b>Port Forwarding</b> is a way of redirecting an incoming connection to another IP address, port or the combination of both:
  −
  −
[[File:Port_forwarding_scheme_v4.png]]
  −
  −
This means you can access multiple LAN devices via a single IP address, but using different ports. Since we have access to the router via its VPN IP (10.0.0.1), we can configure redirects from this IP to the NVR and the IP cameras.
  −
----
  −
To configure Port Forwarding on a RUT device, go to <b>Network → Firewall → Port Forwarding</b> and scroll to the bottom of the page. Locate the <b>New Port Forward Rule</b> section and create a rule to reach the NVR's web interface:
  −
  −
[[File:Networking_device_configuration_remote_camera_management_5_v3.png]]
  −
  −
By default, this rule will redirect connections from hosts in WAN connecting to port 81 to the NVR's IP and port 80 (default http port). As discussed [[Remote_camera_access_via_VPN#Step_1:_configure_VPN|earlier]], we want to connect via VPN, not WAN; therefore, you will have to edit the rule accordingly. Locate the newly created rule in the list and click the "Edit" button next to it:
  −
  −
[[File:Networking_device_configuration_remote_camera_management_6_v3.png]]
  −
  −
Change the Source zone from "wan" to the type of VPN that you are using and save the changes:
  −
  −
[[File:Networking_device_configuration_remote_camera_management_7_v1.png]]
  −
----
  −
You can also create analogous rules for every other camera. Just remember to use different ports and specify actual camera IPs:
     −
[[File:Networking_device_configuration_remote_camera_management_8_v3.png]]
  −
-->
   
==Step 2: Hik-Connect==
 
==Step 2: Hik-Connect==
  

Navigation menu