When a surveillance camera is installed, it is connected to the Smart lens software with IP connection. The surveillance videos are streamed directly to the Smart lens software. To stream these videos over the Internet, Smart lens uses a web server and a network router to enable users to view them remotely using a web browser or an app on a desktop or a mobile device.
The Port Forwarding function of network routers is used to connect to different devices on an IP (Internet Protocol) network. This function allows you to configure specific communication ports of the router to be routed to devices, such as a desktop, DVR, etc.
To access the video stream of a camera, you will need to configure the network router to forward the incoming Internet requests on the port from the mobile device to Smart lens.
In most cases, Smart lens open the ports automatically and you don’t need to do anything. Otherwise, you will need to set up port forwarding manually.
In case the mobile device fails to connect to the system and you get a login error after you have scanned the QR code under setting page in most cases it means that you have to manually set the port forwarding as the section below explain.
Setting up Port Forwarding
To set up port forwarding, you will first need to find your default gateway. This can be done on a Windows operating system by accessing the Command Prompt. You can access it by searching for CMD. Click on Command Prompt to open the Command line window.
Now, on the command prompt, you need to type ipconfig and press the Enter
The ipconfig command displays the IP address, subnet mask, and default gateway for all adapters and routers. The image below shows the results for the ipconfig command. You need to note down the address for the default gateway.
You can now login to the router using the default gateway address. To do this, enter the default gateway address as the URL in the Web Browser. The image below shows the login page of the router with the gateway address entered as the URL in the Web Browser.
On the router login page, enter the credentials for the router. You can find them on the sticker at the bottom of the router. In case you had changed the password for the router and don’t remember it now, you can reset the router to default settings. The default credentials of some most common routers are listed below for you.
You now need to locate the port forwarding or the virtual server settings on the page. The image below highlights the section where you can find it. Here, the virtual server settings appear under the NAT Forwarding section. It shows the various cameras that have been added.
You have to forward to port 1001 for the web service.
You have to forward to port 560 and 10000 for channel 1.
You have to forward to port 561 and 20000 for channel 2.