Showing results for 
Show  only  | Search instead for 
Did you mean: 
Access VMworld content on-demand if you missed the event. 70+ security focused sessions were offered -- access requires registration.

Carbon Black Cloud: How to Set a Proxy for Linux Sensor

Carbon Black Cloud: How to Set a Proxy for Linux Sensor


  • Carbon Black Cloud Sensor: All Supported Versions
  • Linux: All Supported Versions


To set a proxy for a linux sensor post installation


  1. Create a separate configuration directory /etc/systemd/system/cbagentd.service.d.
  2. Create a file /etc/systemd/system/cbagentd.service.d/custom.conf with the following contents:
  3. Add the following contents to /etc/environment:
    all_proxy=<ip_address_of_proxy>:<port number> or
    https_proxy=<ip_address_of_proxy>:<port number>.
    Note that you can use the FQDN if the hostname is used instead of the IP address.
  4. After making configuration changes, the sensor must be restarted; for example:
    daemon-reload'; systemctl restart cbagent.d.

Additional Notes

  • Proxy environment variables are not supported in Centos 6
  • This will set a proxy at the system level. To set a proxy for only the sensor:
    1. Point custom.conf file a custom file location (instead of /etc/environment)
    2. Add the contents of step 3, to the custom file.

Related Content

Was this article helpful? Yes No
100% helpful (1/1)
Article Information
Creation Date: