1. What is VPN?

VPN stands for Virtual Private Network. It is a network protocol that can provide you secure encrypted connection over the public internet. It is a significant technology in surveillance industry. Imagine that you have a network camera connected via public IP address, it’s possible for others to log in or listen illegally if someone knows the specific IP address and forwarded port. Via VPN the camera streams and data will be transferred through an encrypted tunnel. This encrypted VPN tunnel makes it appear as though you are directly connected to the private network, keeping your online activity (including your browsing history) hidden. For Milesight camera, VPN feature allows us to log in the camera via a virtual IP, which makes it easier to configure the camera remotely.

 

2. How to use VPN on Milesight Camera?

There are two VPN modes on Milesight camera: General VPN and Milesight VPN. General VPN mode allows us to upload OpenVPN configuration file directly. For Milesight VPN mode you need to configure parameters manually. Please note that both of the modes are working under OpenVPN protocol. You can take the camera as an OpenVPN client.

 

Different VPN mode

General VPN

First we need to prepare an OpenVPN configuration file. Configuration file (also known as connection profile) is a .ovpn text file that contains the directives, parameters, and certificates required to establish the server-client connection. You can export configuration file from certificate page of MIlesightVPN server:

Create OpenVPN profile

 

Then you will get an OpenVPN connection profile:


 

Note: 

If you are using OpenVPN server, please refer to official instruction regarding the configuration file exporting:

https://openvpn.net/vpn-server-resources/create-connection-profiles-and-connect-client-installers/

 

Next we need to upload the configuration file. The connection will start automatically once the uploading is done:

 

 

Note: 

If you disconnect the VPN manually or the connection is broken due to network error, to restore connection you need to upload the configuration file on this page again.

 

Check the connection status. The picture below shows a normal connection status:

 

Connection Status

Milesight VPN

Milesight provides Milesight VPN service. If you have signed up for Milesight VPN service, you can enter the server information on camera to enable VPN feature. 

 

 

3. How to connect camera via VPN

After the VPN connection is established, we can log in the camera via virtual IP address. 

 

Preparation

First please make sure your computer is also connected to VPN. For example, you can download OpenVPN client for Windows from:

https://openvpn.net/client-connect-vpn-for-windows/

After installation you can see the application in Start menu, open the app:

 

Right click at the VPN connection icon on tool bar and select Import file. Please prepare another OpenVPN configuration file that is different from camera’s. 

  

 

In this area you can see all the configuration file you’ve uploaded. Select corresponding file to connect:  

 

 

When the connection is done, computer will show this icon: 

 

Login via web

Then open browser and enter camera virtual IP address:

 

 

Login via VMS enterprise:

Go to VMS camera management page and add a new camera via VPN:

 

Note:

The default HTTP port in this configuration is 80. 

 

View the live image:

 

 

If you have question about how to configure MilesightVPN, please kindly refer to:

MilesightVPN User Guide

If you meet other problem when using VPN feature, please contact Milesight support team for help:

https://support.milesight.com/support/tickets/new

 

 

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