12.2. Initial Setup

There are several ways to perform the initial setup of UserGate using the CLI.

  1. Install UserGate as the master node.

To set UserGate as the master node, use this command:

Admin@UGOS# execute install node master

Specify the following parameters:

Parameter

Description

login

Set admin name.

password

Set a password for the administrator account.

You can also set the password on pressing Enter after typing in the administrator login; the password must be entered twice.

  1. Install UserGate as a slave node.

To set UserGate as a slave node, use this command:

Admin@UGOS# execute install node slave

Specify the following parameters:

Parameter

Description

interface

The interface for connecting to the cluster.

slave-ip

The IP address that will be assigned to the interface used for connecting to the cluster. Skip the subnet mask.

gateway-address

Gateway IP address. A gateway is required if the nodes are in different subnets.

master-ip

The master node IP address.

master-secret

The master node secret used to connect the node to the cluster.

login

The UserGate administrator login.

password

The password for the administrator account.

  1. Configuration using UserGate Management Center.

To set UserGate as a slave node, use this command:

Admin@UGOS# execute install node mc

Specify the following parameters:

Parameter

Description

login

The UserGate administrator login.

password

The password for the administrator account.

mc-ip

The IP address of the UserGate Management Center server.

device-code

The unique device code used for connecting the node to UserGate Management Center.

After the initial setup, the full management functionality will be available from the CLI.