Does the forwarder support a proxy?

It may be required to configure the forwarder to send its traffic through a proxy. The following guide illustrates configuring the Stairwell Windows forwarder to work in a proxied environment.

Windows

You can configure the proxy value at the time of install or you can manually add the registry value post-installation and reboot the service.



Installing with the proxy argument

Unauthenticated proxy support

.\\InceptionForwarderBundle.exe TOKEN="TOKENHERE" ENVIRONMENT_ID="ENVIRONMENTIDHERE" HTTPSPROXY="http://127.0.0.1:8081" /quiet /norestart /log C:\\stairwell.log

Authenticated proxy support

.\InceptionForwarderBundle.exe TOKEN="TOKENHERE" ENVIRONMENT_ID="ENVIRONMENTIDHERE" HTTPSPROXY="http://username:[[email protected]](mailto:[email protected]):8081" /quiet /norestart /log C:\\stairwell.log


Adding proxy configuration into the Windows registry

The Stairwell Windows forwarder stores configuration information within the registry

\\HKEY_LOCAL_MACHINE\\SOFTWARE\\Stairwell\\SwellService

By default, the registry key contains the following values: (Default), AssetId, FullVolumeScan.

An additional value needs to be configured when working with a proxy:

NameTypeData
HttpsProxyString REG_SZhttp://hostname:port or http://ip_address:port


Removing proxy configuration into the Windows registry

The Stairwell Windows forwarder stores configuration information within the registry

\\HKEY_LOCAL_MACHINE\\SOFTWARE\\Stairwell\\SwellService\\httpsproxy

If you remove this key and restart the service, that will remove the proxy configuration.