Proxy Usage

We recommend using a transparent proxy! A transparent proxy can hide its settings, hence it is safer and requires no additional configuration on the target machine.

This feature is available from Sandbox version 1.9.3

Proxy server configuration

The following URLs are recommended to bypass on the proxy server:

Sandbox server configuration

The following configuration is necessary for the installer and the product to work properly behind a non-transparent HTTP proxy.

Before Sandbox installation

Set the following configuration settings before installation.

System-wide proxy configuration

Update the /etc/environment config, copy the proxy variables to the end of the file as described below. This will be used by tools like WGET, CURL, APT.

Always set the NO_PROXY variable to precisely match the example below. The IP address ranges: 172.16.0.0/12 and 192.168.0.0/16 are used by Docker, do not reuse them for other purposes.

Use your own proxy URLs instead of the example proxy.example.com:3128.

The proxy format is <protocol>://<user>:<password>@<domain or IP address>:<port> where <user> and <password> are URL encoded strings.

/etc/environment
Copy

Once the file is updated log out and log in again for these changes to take effect:

Bash
Copy

Docker proxy configuration

Create the docker daemon proxy configuration file.

http-proxy.conf
Copy

Update the proxy settings similarly to the system-wide proxy configuration:

http-proxy.conf
Copy

Optionally, if the docker daemon is already installed on your system, restart it:

Bash
Copy

Install Sandbox as described on the Installation page.

Online license activation is not working when a proxy is used!

Please follow the "Offline license activation" section of the License Activation page.

After Sandbox installation (optional)

Sandbox will use the system proxy settings from HTTP_PROXY and NO_PROXY environment variables if available and no other proxy settings are defined.

Optionally, you can override the system-wide proxy configuration if you modify the transform.cfg property file as described in proxy settings. These changes only affect the transform component.

For other Docker containers, it is possible to change the proxy configuration without reinstalling Sandbox if you modify /home/sandbox/.docker/config.json (the path may differ if you installed Sandbox under a different user):

/home/sandbox/.docker/config.json
Copy

Then please restart the sandbox service to remove and restart all Docker containers:

Bash
Copy

You can check the currently used proxy configuration for a given Docker container, e.g. for transform:

Bash
Copy

This is the expected output:

Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard