QNAP School > Tutorials > NVR Installation Guide
[Guide] Scenario 3: Install IP camera with Public IP and access NVR from remote PC

Scenario 3: 

  1. The VioStor, IP cameras, and the PC are all in the same LAN.
  2. Some IP cameras are installed in remote location with Public IP.
  3. Allow users to connect the NVR from remote PC over the Internet.

Please follow the steps below to install the NVR.

Streaming from the network cameras:

  1. Plan the IP address and port of the NVR, the camera, and the PC.
    LAN Device IP Address/ Port Mapped Port on the Router
    A Public IP of the router 219.87.144.205  
    VioStor 192.168.1.100:80 219.87.144.205:8000
    Camera 1 192.168.1.101:80 219.87.144.205:8001
    Camera 2 192.168.1.102:80 219.87.144.205:8002
    Camera 3 192.168.1.103:80 219.87.144.205:8003
    Camera 4 192.168.1.104:80 219.87.144.205:8004
     PC 192.168.1.200  
    B Camera 5 205.234.170.161  
    Camera 6 205.234.170.162  
    C Remote PC 89.97.5.123  
  2. Install the IP camera. Please refer to the user guide of the IP camera for the network configuration.
  3. Configure the router/ virtual server/ firewall
    In this application, you have to configure the port mapping or virtual server of the router and forward the ports to the corresponding LAN IP 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:
    1. Some IP cameras delivers MPEG4 image via the 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.
    2. In this sample, you must configure the RTP port setting on the router of LAN A. Please refer to FAQ.
    3. RTP (Real-time Transport Protocol): The protocol for delivering video or audio data.
    4. RTSP (Real-Time Streaming Protocol): The protocol for controlling video or audio streaming media.

    Configure the port mapping or virtual server on the router:
    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:6259 192.168.1.100:6259
    Note: The default RTP (Real-time Transport Protocol) port range of the NVR(VioStor) is 6100~6259. Please refer to FAQ.
    The router's port forwarding: 

  4. 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 respectively on the "Camera Settings" page of the VioStor.

    Note: The LAN IP and the WAN IP of the IP camera must be entered.

Streaming from the server:

  1. Plan the IP address and port of the NVR, the camera, and the PC. 
    LAN Device IP Address/ Port Mapped Port on the Router
    A Public IP of the router 219.87.144.205  
    VioStor 192.168.1.100:80 219.87.144.205:8000
    Camera 1 192.168.1.101  
    Camera 2 192.168.1.102  
    Camera 3 192.168.1.103  
    Camera 4 192.168.1.104  
     PC 192.168.1.200  
    B Camera 5 205.234.170.161  
    Camera 6 205.234.170.162  
    C Remote PC 89.97.5.123  
  2. Install the IP camera. Please refer to the user guide of the IP camera for the network configuration.
  3. Configure the router/ virtual server/ firewall
    In this application, you have to configure the port mapping or virtual server of the router and forward the ports to the corresponding LAN IP 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.
    Configure the port mapping or virtual server on the router:
    HTTP port:
    From Forward to
    219.87.144.205:8000 192.168.1.100:80
    The router's port forwarding:
     
  4. Install and configure the VioStor NVR
    Enter the IP address of the camera in the "IP address" field of the "Camera Settings" page of the VioStor.

Note:

  1. The "IP address" is for the VioStor to acquire the streaming from the VioStor directly and for browsing by LAN users.
  2. 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.
  • The port 21 must be forwarded on the router in the following two situations:
    1. When you use the alarm function of the remote IP camera (the alarm between the NVR and the camera is delivered by FTP).
    2. 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.
2015/07/22
Back