The Hikvision DVR uses the ports 8000, 554 and 80 for remote services. The remote app used to connect from iPhone or an Android phone is called iVMS 4500, It is available on the Play Store and App Store and made by Hikvision. It can be used to connect to your DVR/NVR directly by opening ports or through the EZViz – A DIY setup for remote viewing designed to make things easier.
Port Forwarding a HikVision DVR/NVR
Lets get down to ports needed for remote viewing. Essentially you will need to forward 2 ports – 8000 and 554. Port 8000 is used to send control commands to the DVR and 554 is the rtsp port used to stream video across the connection.
[table id=6 /]
There is also the web port (80) which can be forwarded if you want to view or use your DVRs web interface.
It is not necessary to open the exact same ports numbers externally as these can be changed as necessary. For example we could assign the following ports
[table id=3 /]
The example above assumes your DVR has a local IP of 192.168.1.100.
Once you have forwarded these ports you can connect to your DVR with the public port 9991 which will direct to your local port 8000 and so on.
Tips on testing if your port forwarding is working
Once you have forwarded the necessary ports you can use a service like canyouseeme to check if the service on the port is responding. It will tell you if your port is open and the the dvr is talking back. Canyouseeme will automatically detect your WAN IP, so you will need to simply type in the external port that you have forwarded.
When you have multiple HikVision DVR’s in the same network
When you have multiple DVR’s within the same network you will need to use a different external port for each DVR. For example
DVR 1 Configuration
[table id=4 /]
DVR 2 Configuration
[table id=5 /]
In the above configuration we have given both of the DVR’s a separate static IP and we are forwarding separate ports to the required DVR’s. You can use any port as long as they are not reserved or current being used.
Directly port forwarding your router and connecting to your device skips the “middle man” configuration and allows you to talk to your CCTV video recorder directly. It is the fastest and safest method. If you are really worried about security I recommend you purchase a decent security firewall router and enable IP filtering. If you have a dynamic IP, you could register with a VPN service which can offer you a static IP and further encrypt data transmitted between you and your DVR. Alternatively you could VPN to your router and watch video with a local IP and avoid the port forwarding hassle altogether! Good Luck!
Visit CCTV101 for expert advice on CCTV & Security