Configure Sensor Proxy to Use a Third-Party HTTP Proxy
Sensor Proxy supports integration with third-party HTTP proxy servers, allowing all outbound sensor traffic to be routed through a custom-designated proxy. This enhancement enables your organization to comply with internal security policies that require all outbound network communications to pass through a centralized proxy.
With this feature, you can:
-
Configure Sensor Proxy to send all outbound traffic through your organization’s approved third-party HTTP proxy.
-
Simplify network and firewall management by centralizing sensor communications.
-
Maintain compliance with enterprise security requirements and regulatory standards.
Note: Sensor Proxy only supports basic authentication for third-party proxy connections.
To enable Sensor Proxy to use a third-party HTTP proxy:
-
Do one of the following:
-
Create the proxy.env file as a symlink by running the following command:
Copyln -s </path/to/your/envfile> /opt/sensor_proxy/config/proxy.env
-
Create the /opt/sensor_proxy/config/proxy.env file, directly add your proxy environment variables following your organization's procedures, and save the file.
The following is an example of custom proxy environment variables in proxy.env:
http_proxy="http://username:[email protected]:3128"
https_proxy=“https://username:[email protected]:3128”
no_proxy="localhost,127.0.0.1"
-
-
Restart Sensor Proxy and apply your changes by running the following command:
Copysystemctl restart sensorproxy
To disable third-party HTTP proxy support in Sensor Proxy:
-
Do one of the following:
-
Remove the symlink from proxy.env by running the following command:
Copyrm /opt/sensor_proxy/config/proxy.env
-
Open proxy.env, comment out or remove your proxy environment variables following your organization's procedures, and save the file.
-
-
Restart Sensor Proxy and apply your changes by running the following command:
Copysystemctl restart sensorproxy