Skip to main content

Proxy

The automator Proxy lets the automator securely reach systems inside your network. It is a small Node.js application that you install on a machine in your own environment, Windows or Linux, where it executes predefined scripts or shell commands on behalf of your packages.

Many systems worth automating are not reachable from the internet, such as an internal database or a server behind the company firewall. The automator cannot connect to them directly. The proxy bridges that gap: a package calls executeOnProxy, the automator encrypts the command and hands it to the proxy, and the proxy executes it inside your network and returns the encrypted result. By default the proxy opens every connection itself, from inside your network, so there is no need to open anything in your firewall or expose internal systems to the internet.

Typical scenarios:

  • Provisioning tasks that must run inside the network, such as creating a user account in an on-premises directory.
  • Running maintenance on internal infrastructure, for example restarting a service in response to an alert or patching a server after a vulnerability report.
  • Retrieving data from or updating an internal system that is not reachable from the internet, for example to sync records with a Xurrent workflow.

How it works

On the automator side, a Proxy account holds the connection settings.

The Proxy account form, holding the transport and execution modes, the Automator URL the proxy polls for work, and the shared token and key

On your side, the proxy is configured with one or more profiles. Each profile matches a Proxy account and defines what that account is allowed to execute: a fixed set of scripts or arbitrary shell commands (see Execution modes).

When a package calls executeOnProxy, the automator encrypts the command data with the account's encryption key and sends it to the proxy. The proxy decrypts the payload, verifies the token, executes the command, and returns the encrypted result to the package. Payloads are encrypted end to end; see Security and privacy for the details.

By default, the proxy uses the pull transport mode: the proxy opens every connection from inside your network, polling the automator for work and posting the results back. No inbound firewall openings are needed, and internal systems are never exposed to the internet:

Architecture of the pull transport mode: the proxy polls the automator for work through the firewall, executes commands locally, and posts the encrypted results back

See Transport modes for the details and for the alternative push transport mode.

In this section

  • Get started: run your first script on a Windows server through the proxy.

Concepts:

How-to guides:

Reference:

See also Network configuration for the hostnames and IP addresses to allow when your network requires explicit firewall rules.