Introduction
Remote access management is one of critical points for most of projects since network devices are usually scattered in various locations.Two private IP in different private network can not connect to each other, and any IP address can access Public IP If you already have public IPs from operators, it’s easy to remote access the router via public IPs. Since public IP is rare and not free, there are other solutions for remote access management. This article will introduce some solutions to remote access the Milesight routers/gateways.
1. DeviceHub
Milesight DeviceHub provides a high-efficency, low maintenance solution to easily deploy Milesight routers and gateways across multiple locations, reducing complexity and increasing productivity.
You can use DeviceHub to achieve below features:
- Remote access equipmentwithout public IP
- Support remote configuration or batch upgrade of equipment
- Real-time monitoring equipment, equipment abnormal alarm
Milesight DeviceHub cloud version and on-premises version. If you prefer to deploy your routers to Milesight cloud version, please contact Milesight for cloud account. For more information please refer to DeviceHub User Guide.
(Note: DeviceHub only supports management of Milesight routers and gateways. If you need to access or communicate with devices under router subnet, please select below solutions. )
2. General VPN
VPN is a common solution for remote access and management. Because there is no direct access between private network IPs, dedicated network connection established on a public network. Directly connect the devices AB in the two private networks to achieve higher speed and secure communication between AB. Let the two remote devices use a unified authentication method, and after mutually authenticating the identities of the opposite ends, it is artificially regarded as a virtual link.
When users use VPN to transmit data, they mainly rely on the tunnel protocol. The tunnel protocol stipulates the establishment, maintenance and deletion rules of the tunnel and how to encapsulate the data in the tunnel for transmission. The tunneling protocol adds a protocol header to the data at one end of the tunnel, that is, performs encapsulation, so that the encapsulated data can be transmitted through the tunnel, and removes the tunnel protocol header carried by the data at the other end of the tunnel, that is, decapsulates.
When using VPN to manage devices, you need to have a VPN server. You can configure VPN in Network -> VPN page.
Here are some articles for how to configure VPN tunnels:
How to Connect Milesight Routers to OpenVPN Cloud
How to set up OpenVPN Server in Milesight routers?
DMVPN installation and configuration example using Ubuntu
How to Establish IPsec VPN between Milesight Routers
3. MilesightVPN
MilesightVPN is a network-based VPN monitoring and management platform developed by Milesight and based on openVPN. MilesightVPN establishes a virtual private network for the communication between users and devices, providing highly reliable, efficient and secure solutions for the connection. There are 3 steps to setup MilesightVPN:
- Install MilesightVPN on a server with a public IP
- Connect Milesight routers to MilesightVPN
- Connect your computer to MilesightVPN, then you can access Milesight routers and terminal devices remotely.
For more information please refer to MilesightVPN User Guide.
(Note: MilesightVPN only works with Milesight routers and CPEs.)
4. Private network
In addition to the public network, operators also set up private networks at the same time. In the private network environment, each IP can directly access each other.