Used VPN client is OpenVPN. For inclusion in work it is necessary to load files of keys and certificates, to adjust the client VPN, to adjust work of Watchdog Ping.

Wathdog Ping provides a network availability check and, if it fails, responds by reconnecting the VPN client, and if necessary, reconnecting the LTE connection and resetting the modem.

The following URIs are used to load key files:


To configure the VPN client, use a query with querytype = setvpn, with fields:

To read the VPN client settings, use the query with querytype = getvpn, the response contains the following fields:

To configure Watchdog Ping, use a query with querytype = setwdogping, with fields:

Actions that are performed when the number of errors is reached:

To read the Watchdog Ping parameters, use the query with querytype = getwdogping, the response contains the following fields: