Skip to main content
Here you’ll find the manual steps required to set up the VMs, which are automated by the Setup Scripts.

Hostname

Connect to the XCC VM
and set the new VM hostname.
Open /etc/xorlab/elastic/kibana/kibana.yml config, and set the server.publicBaseUrl:
Open the Expert Editor, you will need to set new hostname value in these files:
  • activeguard/mta/audit/audit.yml
  • monitoring/grafana/grafana.ini
  • monitored_mta/promtail/config.yml.vmx.N
  • activeguard/core/active_guard.yml
Deploy your changes by clicking the Publish button (1). In the pop-up window describe your changes (2), and press the Publish button (3) in the bottom right corner of the pop-up dialog. Publish pop-up window

Bind IP

Connect to the XCC VM:
Enable browser access to the Control Center UI by opening the /etc/xorlab/xcc/.env file and changing the XCCWEB_BIND_IP variable to the IP that the Control Center UI should bind to:
and restart the xcc stack.

Client ID

Connect to the MTA VM:
Open the /etc/xorlab/<STACK>/bootstrap.env file for each stack (activeguard,rproxy_mta,monitored_mta) and change the clientId variable to the number of the MTA VM:
and restart the stack.
Repeat the steps for each MTA VM.

XCC URL

Connect to the MTA VM:
Open the /etc/xorlab/activeguard/.env file, and change the redis_url variable to the Fully Qualified Domain Name or the Hostname of the XCC VM.
Open the /etc/xorlab/<STACK>/bootstrap.env file for each stack (activeguard,rproxy_mta,monitored_mta) and change the Fully Qualified Domain Name or the Hostname of the XCC VM in the configServiceProvider_ag_local variable:
and restart the stack.
Repeat the steps for each MTA VM.

Proxy Configuration

If the xorlab can only connect to external servers through an HTTP proxy, you’ll need to execute the following steps:
  • Enable APT to pull OS updates
  • Enable the Docker daemon to pull new Docker images
  • Configure the XCC and MTA containers
  • Update active_guard.yml in the Expert Editor to enable SystemTests
  • If integrated, configure the VirusTotal service
Optional and mandatory proxy settingsUser (PROXY_USER) and password (PROXY_PASS) are optional, whereas type (PROXY_TYPE), port (PROXY_PORT), and host (PROXY_HOST) are mandatory across all the config files.

APT proxy

Connect to the XCC or MTA VM:
Open the /etc/apt/apt.conf.d/proxy.conf file:
uncomment the config, and provide your credentials to the proxy server:
Save the file. Test the configuration by executing the following command and verifying that no connection error appears:
Repeat the steps for each MTA VM.

Docker Daemon proxy

The proxy for the Docker daemon is set using environment variables using systemd. XCC and MTA VMs come with prepared, commented out proxy configuration in the /etc/systemd/system/docker.service.d/http-proxy.conf. Connect to the XCC or MTA VM:
Uncomment config lines and replace the exemplary proxy values.
Before proceeding, use docker compose down to shut down all running container stacks. Then reload the service configuration and restart the Docker service:
Repeat the steps for each MTA VM.

ServiceProvider proxy

Allow containers to download the latest global configuration through a proxy, by configuring proxy in the bootstrap files (bootstrap.yml, bootstrap.env). Connect to the XCC VM:
Open the bootstrap.yml file in your favorite editor for the backend stack:
Set your proxy credentials, and uncomment used parameters. Note that this needs to be done only for the ag_global entry:
Open the bootstrap.env file in your favorite editor for the auth and monitoring stacks:
Uncomment configServiceURL_ag_global (line 12), uncomment configServiceProvider_ag_global (line 11) and add the value in the JSON format to use the corresponding proxy and xCloud:
Restart container stacks:
Connect to the MTA VM:
Open the bootstrap.env file in your favorite editor for the activeguard, monitored_mta, and rproxy_mta stacks:
Uncomment configServiceURL_ag_global (line 12), uncomment configServiceProvider_ag_global (line 11) and add the value in the JSON format to use the corresponding proxy and xCloud:
Restart container stacks:
Repeat the steps for each MTA VM.

xorlab Services and SystemTests

To enable connection to the xorlab backend services (DANA, xCloud, NLU), open the Expert Editor and navigate to /activeguard/core/active_guard.yml. Here you can uncomment and set proxy values for each backend service.
There are two system tests that can use proxy: ReachXorlabSystemTest and URLRedirectFollowerSystemTest. In order to configure them, you need to insert the httpProxy block into /activeguard/core/active_guard.yml.
Publish the changes; the configuration will be applied after one minute. You can also manually restart the activeguard stack.