How to use VPN on Milesight Network Camera 1. What is VPN? VPN stands for Virtual Private Network. It is a network protocol that can provide you s
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.
Read Next : How to Upgrade Firmware for Milesight IP Camera
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
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:
If you are using OpenVPN server, please refer to official instruction regarding the configuration file exporting:
Next we need to upload the configuration file. The connection will start automatically once the uploading is done:
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:
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.
First please make sure your computer is also connected to VPN. For example, you can download OpenVPN client for Windows from:
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:
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:
If you meet other problem when using VPN feature, please contact Milesight support team for help: