On-premises Gateway reference

Downloads, requirements, commands, proxies, relocating and removing a gateway.

The On-premises Gateway lets a Zato environment in the cloud connect to the systems in your private network. The installation itself is described in Installing the On-premises Gateway.

Downloads

PlatformFile
Windows, 64-bitzato-on-prem-gateway-windows-amd64.exe
Linux, x86-64zato-on-prem-gateway-linux-amd64
Linux, ARM64zato-on-prem-gateway-linux-arm64

The executable has no dependencies and no configuration file.

Requirements

  1. A 64-bit Windows host, or a Linux host running systemd.
  2. Outbound HTTPS access from the host to the Zato environment.
  3. Administrative rights on the host, which the service installation requires.

Commands

CommandDescription
zato-on-prem-gateway install --token TOKENConnects with the enrollment token, then installs and starts the service
zato-on-prem-gatewayConnects in the foreground. On Windows, the token dialog opens when the host is not enrolled yet
zato-on-prem-gateway --token TOKENConnects in the foreground with the given enrollment token
zato-on-prem-gateway connectConnects in the foreground without opening a dialog
zato-on-prem-gateway statusReports the Zato environment and the name of this gateway
zato-on-prem-gateway installInstalls the service, which then starts on boot
zato-on-prem-gateway uninstallRemoves the service
zato-on-prem-gateway startStarts the service
zato-on-prem-gateway stopStops the service
zato-on-prem-gateway restartRestarts the service
zato-on-prem-gateway versionReports the version

Supplying a token again on a host that is already enrolled as the same gateway keeps the existing enrollment.

On Windows, running the file again opens the token dialog, which is how a new token is entered.

Proxies

The gateway uses the HTTPS_PROXY and NO_PROXY variables:

sudo HTTPS_PROXY=http://proxy.corp.local:3128 zato-on-prem-gateway install --token TOKEN

When the gateway runs as a service, the variable belongs in the environment of the service - a systemd drop-in on Linux, the environment of the service entry on Windows.

Relocating a gateway

  1. In the Dashboard, click Reset key next to the gateway. The gateway is disconnected.
  2. Click Enrollment token and copy the new token.
  3. Install the gateway on the new host with that token.

When Require key resets is disabled for the gateway, the first step is omitted, as described in Re-enrollment.

No outgoing connection in Zato has to be modified.

Removing a gateway

  1. On the host, remove the service:
sudo zato-on-prem-gateway stop
sudo zato-on-prem-gateway uninstall
  1. In the Dashboard, delete the gateway.