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?
- 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 18.104.22.168 VioStor 192.168.1.1 Camera 1 192.168.1.100:80 22.214.171.124:8000 Camera 2 192.168.1.101:80 126.96.36.199:8001 Camera 3 192.168.1.102:80 188.8.131.52:8002 Camera 4 192.168.1.103:80 184.108.40.206:8003 PC 192.168.1.103:80 220.127.116.11:8004 Public IP of the router 192.168.1.200 B Router’s Public IP 18.104.22.168 Router’s LAN IP 172.17.1.1 Camera 5 172.17.1.11 22.214.171.124:8005 Camera 6 172.17.1.12 126.96.36.199: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.
- 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.
- (a-1) Configure the port mapping on the router in LAN A
From Forward to 188.8.131.52:8000 192.168.1.100:80 184.108.40.206:8001 192.168.1.101:80 220.127.116.11:8002 192.168.1.102:80 18.104.22.168:8003 192.168.1.103:80 22.214.171.124:8004 192.168.1.104:80
From Forward to 126.96.36.199:6100 192.168.1.100:6100 188.8.131.52:6101 192.168.1.100:6101 184.108.40.206:6102 192.168.1.100:6102 220.127.116.11:6103 192.168.1.100:6103 :
- Configure the port mapping on the router in LAN B
From Forward to 18.104.22.168:8005 172.17.1.11:80 22.214.171.124:8006 172.17.1.12:80
From Forward to 126.96.36.199:5001 172.17.1.11:554 188.8.131.52:5002 172.17.1.12:554
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”: 184.108.40.206 port 8001
Camera 2 “IP Address”: 192.168.1.102 port 80
“WAN IP Address”: 220.127.116.11 port 8002
Camera 3 “IP Address”: 192.168.1.103 port 80
“WAN IP Address”: 18.104.22.168 port 8003
Camera 4 “IP Address”: 192.168.1.104 port 80
“WAN IP Address”: 22.214.171.124 port 8004
- 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”: 126.96.36.199 port 8005/5001
Camera 6 “IP Address”: 188.8.131.52 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.
- Enter the settings of the IP cameras in LAN A.
- 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 184.108.40.206:21 192.168.1.100:21
- After changing the settings, enter the address in the browser to access the VioStor over the Internet: http:// 220.127.116.11:8000/
- If you have configured port 80 to VioStor, enter the address to access the VioStor (the default port of HTTP is 80): http:// 18.104.22.168/
- To use DDNS if this network environment, enter the DDNS settings on the router, but not on the VioStor.