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.
Install a VPN server on the selected server / Run the VPN server on the router.
Install a VPN client on a computer that will work outside the local network.
Configure the client and server connection.
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
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]:443here external IP address is a static IP address provided by the provider, port in this case, indicate a non-standard one (for example, 44344).
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:
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 starthere XXX.XXX.XXX.XXX:port is the selected external IP address and port of the router.
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.
Setting up the Linux agent is described in the section Additional server address.
When specifying an additional server address, the Linux agent itself will determine whether the agent is located on the internal or external network and, depending on this, will select a data transmission channel to the server.