To watch the live view of IP camera remotely, you need to do port mapping for your IP camera. You need to configuration these three port:

* You can modify the port number to any number if it is not conflict.

There are two kinds of port mapping, Virtual Servers is applicable to the case of more than one IP camera connected to the router needed to be shared. DMZ is mainly suitable for only one IP camera.

Virtual Servers

For example,

Port forwarding

1. Make sure your TP-Link router and the IP camera are in the same network segment.

2. Login the  web management, change the HTTP port number to 8081. Change the RTSP port to 5554 and Playback port to 5555.

Figure 1 Network setting of IP camera

3. Access the router’s IP address , in this example the IP is “192.168.1.1”. 

Port forwarding

Figure 2 Router log in

4. Once logged into your router, follow the tips below. Fill in the following information:(The corresponding external port needs to be configured on the router)

Port forwarding

Figure 3 Virtual Servers settings

5. The same as HTTP, add a new rule of RTSP/Playback.

For example,

DMZ

In some special cases, we need to fully expose a local area network computer to the WAN, we can set the device as DMZ mode. So enable the DMZ mode in the [DMZ], input the IP of the IP camera to make the DMZ work. In this way, computer with internet can visit all the ports of the IP camera by entering the router’s WAN IP.

Port forwardingFigure 4 DMZ setting

Check out

Visit the WAN IP http://117.29.166.6:8081, so that you can visit the IP camera of 192.168.1.161 in this LAN.

Figure 5 Testing

Add the WAN IP for example http://117.29.166.6:8081, to your m-sight app, fill the 8081 to the port. So that you can visit the IP camera of 192.168.1.161 on your phone.



Figure 6 App testing

Figure 7 App testing


Note: 

1. It’s better to keep the internal (private) port and the external (public) port the same.

2. Some ISP may block the 554 port, so it is recommended to use other ports instead.

3. Make sure both HTTP port and RTSP port are mapped.

  • Due to camera usually established via HTTP connection but the video streaming is transferred via RTSP. So if you could access camera web interface but cannot get the live view stream. It should be due to RTSP port issue, you could check if the RTSP port is mapped correctly or it's 554 or not.

——————END——————