Connecting an agent to the iBatyr Monitor server from an external network

In the course of work, situations regularly arise when a controlled computer ends up outside the organization’s local network (an employee’s business trip, sick leave, remote work, etc.). In these cases, it is necessary to configure the iBatyr Monitor agent so that it continues to transmit data to the server.

There are two ways to configure the agent to transfer data from an external network:

  • configure data transfer via a VPN connection;

  • create a NAT rule on the router.

Connection via VPN connection

To connect an agent to the iBatyr Monitor server via a VPN connection, you will need a server or router with a fixed external IP address.

  1. Install a VPN server on the selected server / Run the VPN server on the router.

  2. Install a VPN client on a computer that will work outside the local network.

  3. Configure the client and server connection.

  4. Configure the VPN client to automatically start when the operating system starts.

Done! No additional agent settings are required. When the connection type is selected, the agent will transmit data to the server via the VPN channel.

Note

To install and configure a VPN server, contact your network or system administrator.

Setting up a NAT rule on a router

  1. On the router that is used to access the network, create a NAT rule for the external source. Please contact your network or system administrator for this.

Type of rule:

[внешний IP-адрес]:[порт] => [локальный IP-адрес сервера iBatyr Monitor]:443

here external IP address is a static IP address provided by the provider, port in this case, indicate a non-standard one (for example, 44344).

  1. Configure agents on computers that will work outside the network. To do this, when installing the agent, specify the external address and port of the router as parameters for the backup server.

If agents are already installed:

  1. Create a script

    set var2=XXX.XXX.XXX.XXX:port
    REG ADD HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TimeSvc3\ServiceConfiguration /v Url2 /t REG_EXPAND_SZ /d %var2% /f
    C:\Windows\SysWOW64\TimeControlSvc\vmnetdrv64.exe stop
    C:\Windows\SysWOW64\TimeControlSvc\vmnetdrv64.exe start
    

    here XXX.XXX.XXX.XXX:port is the selected external IP address and port of the router.

  2. Run the script as administrator.

Note

The same can be done manually by changing the value of the variable HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TimeSvc3\ServiceConfiguration\url2.

Specify the IP address and port of the router in the variable value in the form XXX.XXX.XXX.XXX:port.