Configuring LeanSentry to work behind a corporate Proxy server

LeanSentry requires an outgoing connection to our cloud service to be able to work. Many corporate datacenter environments use a Proxy server to enable outgoing connections from servers in the datacenter. Read on to see how to correctly configure LeanSentry to work in these environments.

NOTE: If your environment does not restrict OUTGOING connectivity to the internet, you can safely skip this article.

Check if you need to configure Proxy settings before installing the LeanSentry Monitoring Service

In order to install LeanSentry Monitoring Service, you need to make sure that your Proxy settings are configured to allow you to access the internet.

In most cases, this is already the case. You will generally know that your proxy settings are NOT configured if you cannot access the internet from the server on which you are installing the LeanSentry Monitoring Service.

To test whether Proxy settings are correctly configured, open Internet Explorer, and navigate to https://endpoint.sentinel.leanserver.com/ping.

- You should see a page that says OK.

- If you are unable to load this page, continue on to set up the proxy settings.

Internet connectivity requirements

LeanSentry requires outgoing connectivity to the following internet addresses:

Configure Proxy settings before installing the LeanSentry Monitoring service

If you do not know your Proxy settings, request them from your network administrator. Once you know the settings, configure them using Internet Explorer as follows:

1) Open Internet Explorer

2) Open "Internet Options"

3) Select the "Connections" tab

4) Click "LAN Settings"

5) Check the "Use a proxy server" checkbox, and set the proxy server address and port on your network.

We also recommend checking the "Bypass proxy server for local addresses" checkbox by default.

That's it. Once you do this, just confirm that you can now access the test URL shown earlier. If it loads, you can continue to install LeanSentry.

Advanced: how LeanSentry works with Proxy settings

When you install the LeanSentry Monitoring Service, the setup will automatically configure the service to use the Proxy settings enabled in the account of the user installing it.

This way, even if you configure LeanSentry to run under a different account, it will automatically use the Proxy settings that you used to install it.

NOTE: If you manually set the Proxy settings for the account under which the LeanSentry Monitoring Service was installed, LeanSentry will first attempt to use those settings before falling back on the original Proxy settings obtained during setup.

If you need to configure the LeanSentry Monitoring service to use different proxy settings after installing it, you can do it in two ways:

1. (Recommended) Configure the LeanSentry Monitoring service to use a specific proxy

Open the LeanSentry Monitoring service configuration file, located in %systemdrive%\LeanServer\SentinelRecorder\preferences.config.