My VioStor, IP cameras, and the PC are in LAN A, and some IP cameras are installed in LAN B behind a different router in a remote location. I want to allow the users to connect the NVR from remote PC over the Internet. How to install the NVR in different network environment for remote monitoring?
Applied Models:
NVR-101
NVR-1012
NVR-104P
NVR-104V
VioStor-101A
VioStor-101P
VioStor-101V
VioStor-2008
VioStor-2012
VioStor-201A
VioStor-201P
VioStor-201V
VioStor-5012
VioStor-5020
VioStor-8040
VioStor-8040U-RP
Answer:
The VioStor, IP cameras, and the PC are in LAN A.
Some IP cameras are installed in LAN B behind a different router in a remote location.
Allow the users to connect the NVR from remote PC over the Internet.
Plan the IP address and port of the NVR, the camera, and the PC.
LAN
Device
IP Address/ Port
Mapped Port (HTTP) on the Router
A
Public IP of the router
219.87.144.205
VioStor
192.168.1.1
Camera 1
192.168.1.100:80
219.87.144.205:8000
Camera 2
192.168.1.101:80
219.87.144.205:8001
Camera 3
192.168.1.102:80
219.87.144.205:8002
Camera 4
192.168.1.103:80
219.87.144.205:8003
PC
192.168.1.103:80
219.87.144.205:8004
Public IP of the router
192.168.1.200
B
Router’s Public IP
205.234.170.160
Router’s LAN IP
172.17.1.1
Camera 5
172.17.1.11
205.234.170.160:8005
Camera 6
172.17.1.12
205.234.170.160:8006
C
Remote PC
10.8.10.123
Install the IP camera. Please refer to the user guide of the IP camera for the network configuration.
Configure the router/ virtual server/ firewall
In this application, you have to configure the port mapping or virtual server of the routers in LAN A and LAN B; and forward the ports to the corresponding LAN IP by the NAT router so that the NVR can save the recording data from the remote IP camera and the remote PC can access the monitoring page over the Internet. Note:
Some IP cameras delivers MPEG4 image via RTSP or RTP ports. If the IP camera is installed outside the router, you have to configure the RTSP and RTP ports on the router and the NVR so that the NVR can save the recording data from the IP cameras, e.g. Vivotek, Axis, D-link, GANZ, or LevelOne cameras that support MPEG4 streaming.
In this sample, you must configure the RTP port setting on the router of LAN A and the RTSP port setting on the router of LAN B.
RTP (Real-time Transport Protocol): The protocol for delivering video or audio data.
RTSP (Real-Time Streaming Protocol): The protocol for controlling video or audio streaming media.
Configure the port mapping or virtual server on the router:
(a-1) Configure the port mapping on the router in LAN A
HTTP port:
From
Forward to
219.87.144.205:8000
192.168.1.100:80
219.87.144.205:8001
192.168.1.101:80
219.87.144.205:8002
192.168.1.102:80
219.87.144.205:8003
192.168.1.103:80
219.87.144.205:8004
192.168.1.104:80
RTP port: (Configure the port for NVR to receive remote video data from the IP camera)
From
Forward to
219.87.144.205:6100
192.168.1.100:6100
219.87.144.205:6101
192.168.1.100:6101
219.87.144.205:6102
192.168.1.100:6102
219.87.144.205:6103
192.168.1.100:6103
:
:
:
:
:
:
219.87.144.205:6199
192.168.1.100:6199
Note: The default RTP port range of the NVR (VioStor) is 6100~6199.
Configure the port mapping on the router in LAN B
HTTP port:
From
Forward to
205.234.170.160:8005
172.17.1.11:80
205.234.170.160:8006
172.17.1.12:80
RTSP port: Configure the protocol for controlling video or audio streaming media.
From
Forward to
205.234.170.160:5001
172.17.1.11:554
205.234.170.160:5002
172.17.1.12:554
Note: Please check the RTSP (Real-Time Streaming Protocol) port of the IP camera before configuring the port mapping on the router.
Please refer to the user guide of the IP camera for its RTSP port settings.
Install and configure the NVR (VioStor)
Enter the IP address of the camera in the “IP address” field of the “Camera Settings” page of the VioStor. Then enter the Public IP and the port number of the camera configured on the router in “WAN IP” and “Port” fields on the “Camera Settings” page of the VioStor.
Enter the settings of the IP cameras in LAN A.
Camera 1 “IP Address”: 192.168.1.101 port 80
“WAN IP Address”: 219.87.144.205 port 8001
Camera 2 “IP Address”: 192.168.1.102 port 80
“WAN IP Address”: 219.87.144.205 port 8002
Camera 3 “IP Address”: 192.168.1.103 port 80
“WAN IP Address”: 219.87.144.205 port 8003
Camera 4 “IP Address”: 192.168.1.104 port 80
“WAN IP Address”: 219.87.144.205 port 8004 Note:
The “IP address” is for the VioStor to acquire the streaming from the VioStor directly and for browsing by LAN users.
The “WAN IP Address” is for remote access to the monitoring page of the VioStor over the Internet. If your IP camera is installed behind the NAT router, enter the public IP address (or URL) and configure the port forwarding correctly.
Enter the settings of the IP cameras in LAN B.
Camera 5 “IP Address”: 205.234.170.160 port 8005/5001
Camera 6 “IP Address”: 205.234.170.160 port 8006/5002 Note: The “Port” field refers to the HTTP and RTSP port. The default number of HTTP port: 80. To specify the RTSP port of the IP camera, add a slash (/) and RTSP port number after the HTTP port number.
The port 21 must be forwarded on the router in the following two situations:
When you use the alarm function of the remote IP camera (the alarm between the NVR and the camera is delivered by FTP).
When you need to login the VioStor by FTP (port 21).
From
Forward to
219.87.144.205:21
192.168.1.100:21
After changing the settings, enter the address in the browser to access the VioStor over the Internet: http:// 219.87.144.205:8000/
If you have configured port 80 to VioStor, enter the address to access the VioStor (the default port of HTTP is 80): http:// 219.87.144.205/
To use DDNS if this network environment, enter the DDNS settings on the router, but not on the VioStor.