Description

Milesight VPN supports seamless connect with Milesight router. You can refer to Milesight VPN user guide for installation. If you cannot access web GUI after installation, please refer to this article for simple troubleshoot.


Checklist

1. Check if you enter the correct port.

For MilesightVPN, http protocol use 18080 port, https protocol use 18443 port. For example:

http://192.168.23.148:18080

https://192.168.23.148:18443


2. Check if your Ubuntu system version is 20.04.

You can use command:

lsb_release -a


3. Check if your system installed net-tools.

You can use command: ifconfig to check if net-tools installed.

If you encounter ‘No such file or directory’, you should install net-tools by command:

sudo apt install net-tools -y


After install, restart Milesight VPN by command:

/etc/init.d/milesight_vpn.sh stop

/etc/init.d/milesight_vpn.sh start


4. Check errorlog at path: /milesight_vpn/logs/forever_err.log and MilesightVPN server log at path: /milesight_vpn/urvpn/openvpn/openvpn_server.log. You can also submit these logs to Milesight IoT team.


Troubleshoot Example:


1. If you continued encounter error ‘error: Forever cannot find process with id: index.js’after install, you can check error log at path: /milesight_vpn/logs/forever_err.log



If there is error ‘no such file or directory xxxx’, you should make sure your Ubuntu 20.04 is up to date, and reinstall the Milesight VPN. You can run below command to update your system:

sudo apt-get update

sudo apt-get upgrade -y


If there is nothing in forever_err.log, it most due to server performance. The acceptable initialization time for two cores server is under 30mins.


2. If Milesight VPN restartsevery 30s after install, you can check Milesight VPN server log at path /milesight_vpn/urvpn/openvpn/openvpn_server.log



If you encounter ‘Linux ifconfig failed: could not execute external program’, you should install net-tools in your server, and restart Milesight VPN by command:

/etc/init.d/milesight_vpn.sh stop

/etc/init.d/milesight_vpn.sh start


                                                                       --End--