Changes

2,102 bytes added ,  13:59, 19 June 2020
no edit summary
Line 6: Line 6:     
<ul>
 
<ul>
    <li>[[Camera access from VLC player]]</li>
+
<!--    <li>[[Camera access from VLC player]]</li>-->
 
     <li>[[Camera access from smartphone]]</li>
 
     <li>[[Camera access from smartphone]]</li>
     <li>[[Camera access from RMS]]</li>
+
     <li>[[Hikvision: remote camera access|Camera access via public IP]]</li>
 +
<!--    <li>[[Camera access from RMS]]</li>-->
 
</ul>
 
</ul>
   Line 16: Line 17:     
<ul>
 
<ul>
     <li>a router from the RUT series (except RUT850);</li>
+
     <li>a router from the RUT series (except RUT850) or TRB140;</li>
 
     <li>at least one Hikvision IP camera;</li>
 
     <li>at least one Hikvision IP camera;</li>
 
     <li>access to or ownership of a VPN network;</li>
 
     <li>access to or ownership of a VPN network;</li>
Line 25: Line 26:  
<b>Configuration scheme</b>
 
<b>Configuration scheme</b>
   −
[[File:Hikvision_configuration_scheme_1_v2.png|1154px]]
+
[[File:Hikvision_configuration_scheme_1_v11.png]]
 
----
 
----
 
<b>Overview</b>
 
<b>Overview</b>
Line 43: Line 44:  
The default IP address for Hikvision cameras is 192.168.1.64. If you plan on using a single camera, you can leave this IP address or change it to whatever suits your needs. But since we'll be configuring 4 cameras and an NVR for this example, we'll need to set up the equipment to have different IP addresses. The setup we'll be using will have the following IPs:
 
The default IP address for Hikvision cameras is 192.168.1.64. If you plan on using a single camera, you can leave this IP address or change it to whatever suits your needs. But since we'll be configuring 4 cameras and an NVR for this example, we'll need to set up the equipment to have different IP addresses. The setup we'll be using will have the following IPs:
   −
[[File:Hikvision_camera_ips_v2.png|579px]]
+
[[File:Hikvision_configuration_scheme_1_v10.png]]
    
To change the IP address of a Hikvision camera, power it on, connect it to your PC or an Ethernet port of your RUT router (that is connected to the PC). Type the camera's default IP address (192.168.1.64) into the URL field of your web browser and press "Enter":
 
To change the IP address of a Hikvision camera, power it on, connect it to your PC or an Ethernet port of your RUT router (that is connected to the PC). Type the camera's default IP address (192.168.1.64) into the URL field of your web browser and press "Enter":
   −
[[File:Hikvision_url_login_v4.png]]
+
[[File:Hikvision_url_login_v5.png]]
    
If this is the first time that you are connecting to the camera, 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 camera, 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:
Line 59: Line 60:  
<b>Port Forwarding</b> is a way of redirecting an incoming connection to another IP address, port or the combination of both:
 
<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]]
+
[[File:Hikvision_configuration_scheme_1_v12.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.
 
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.
Line 65: Line 66:  
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:
 
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]]
+
[[File:Networking_device_configuration_remote_camera_management_5_v4.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:
 
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]]
+
[[File:Networking_device_configuration_remote_camera_management_6_v4.png]]
    
Change the Source zone from "wan" to the type of VPN that you are using and save the changes:
 
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]]
+
[[File:Networking_device_configuration_remote_camera_management_7_v2.png]]
 
----
 
----
 
You can also create analogous rules for every other camera. Just remember to use different ports and specify actual camera IPs:
 
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]]
+
[[File:Networking_device_configuration_remote_camera_management_8_v5.png]]
    
==Step 4: remote access==
 
==Step 4: remote access==
Line 83: Line 84:  
To test whether the setup works, open your web browser and try to reach a camera. For example, to reach Camera 1:
 
To test whether the setup works, open your web browser and try to reach a camera. For example, to reach Camera 1:
   −
[[File:Networking_device_configuration_remote_camera_management_9_v4.png]]
+
[[File:Networking_device_configuration_remote_camera_management_9_v5.png]]
    
If you are redirected to the camera's web interface, congratulations - the setup works!
 
If you are redirected to the camera's web interface, congratulations - the setup works!
 +
 +
<b>Important note</b>: viewing camera livestream from web browsers requires a special plugin. Unfortunately, most of the popular web browsers no longer support this plugin.
 +
 +
==Devices used==
 +
 +
List of devices used in this particular setup:
 +
 +
<ul>
 +
    <li><b>Cameras</b>
 +
        <ul>
 +
            <li>Hikvision network camera [http://www.bkgrupe.lt/lt/catalog/view/?id=3052 DS-2CD2145FWD-I]</li>
 +
            <li>Hikvision network camera [http://www.bkgrupe.lt/lt/catalog/view/?id=2961 DS-2CD2045FWD-I]</li>
 +
            <li>Hikvision network camera [http://www.bkgrupe.lt/lt/catalog/view/?id=2887 DS-2CD2345FWD-I]</li>
 +
            <li>Hikvision network camera [http://www.bkgrupe.lt/lt/catalog/view/?id=2890 DS-2CD2T45FWD-I8]</li>
 +
        </ul>
 +
    </li>
 +
    <li><b>NVR</b>
 +
        <ul>
 +
            <li>Hikvision network video recorder [http://www.bkgrupe.lt/lt/catalog/view/?id=2290 DS-7604NI-K1(B)]</li>
 +
        </ul>
 +
    </li>
 +
    <li><b>Switch</b>
 +
        <ul>
 +
            <li>Utepo 4 Ports PoE+ switch [http://www.bkgrupe.lt/lt/catalog/view/?id=2038 UTP3-SW04-TP60]</li>
 +
        </ul>
 +
    </li>
 +
    <li><b>Router</b>
 +
        <ul>
 +
            <li>Any type of RUT that has Ethernet ports or TRB140: [https://teltonika-networks.com/product/rut230/ RUT230], [https://teltonika-networks.com/product/rut240/ RUT240], [https://teltonika-networks.com/product/rut900/ RUT900], [https://teltonika-networks.com/product/rut950/ RUT950], [https://teltonika-networks.com/product/rut955/ RUT955], [https://teltonika-networks.com/product/rutx08/ RUTX08], [https://teltonika-networks.com/product/rutx09/ RUTX09], [https://teltonika-networks.com/product/trb140/ TRB140]</li>
 +
        </ul>
 +
    </li>
 +
</ul>
 +
 +
<b>NOTE</b>: the instructions should apply to other Hikvision equipment as well.
 +
 +
[[Category:-Camera Access & Control]] [[Category:RUT955 Config Examples]] [[Category:RUT950 Config Examples]] [[Category:RUT900 Config Examples]] [[Category:RUT240 Config Examples]] [[Category:RUT230 Config Examples]]

Navigation menu