CrowdStrikeintermediate

How to Configure CrowdStrike Falcon Sensor Proxy Settings on Linux

Learn how to configure proxy settings for CrowdStrike Falcon Sensor on Linux. Route sensor traffic through HTTP proxies for environments without direct internet access.

5 min readUpdated January 2025

In environments without direct internet access, you need to configure CrowdStrike Falcon Sensor to communicate through a **proxy server**. This guide covers configuring proxy settings for Falcon Sensor on Linux using the falconctl utility.

Understanding Falcon Proxy Settings

The Falcon sensor uses three key settings for proxy configuration:

FlagNameDescription
**--apd**App Proxy DisableTRUE = direct connection (default), FALSE = use proxy
**--aph**App Proxy HostThe proxy server hostname or IP address
**--app**App Proxy PortThe proxy server port number

Important: By default, APD is TRUE, meaning the sensor attempts direct connections. You must set APD to FALSE to route traffic through your proxy.


Configuring Proxy During Installation

Configure the proxy when setting up the sensor for the first time:

Step 1: Install the Sensor Package

Ubuntu/Debian

sudo dpkg -i falcon-sensor__amd64.deb

RHEL/CentOS/Amazon Linux

sudo yum install falcon-sensor-.rpm

SUSE/SLES

sudo zypper install falcon-sensor-.rpm

Step 2: Configure CID and Proxy Settings

sudo /opt/CrowdStrike/falconctl -s --cid= --apd=FALSE --aph=http://proxy.example.com --app=8080

Example with all settings

sudo /opt/CrowdStrike/falconctl -s \
  --cid=ABCD1234EFGH5678IJKL9012MNOP3456-78 \
  --apd=FALSE \
  --aph=http://10.0.0.50 \
  --app=3128

Step 3: Start the Sensor

sudo systemctl start falcon-sensor

Configuring Proxy on Existing Installation

To add or modify proxy settings on a sensor that's already installed:

    - **Stop the sensor:**
    sudo systemctl stop falcon-sensor
    • Configure proxy settings:
    sudo /opt/CrowdStrike/falconctl -s --apd=FALSE --aph=http://proxy.example.com --app=8080
    • Start the sensor:
    sudo systemctl start falcon-sensor

Verifying Proxy Configuration

Check current proxy settings:

sudo /opt/CrowdStrike/falconctl -g --apd --aph --app

Expected output when proxy is configured:

apd=FALSE
aph=http://proxy.example.com
app=8080

Testing Connectivity

Check sensor logs for connection status:

journalctl -u falcon-sensor | grep -i "cloud\|connect\|proxy"

You can also verify the host appears in the Falcon Console under Host Management.


Removing Proxy Configuration

To return to direct connections without a proxy:

sudo /opt/CrowdStrike/falconctl -s --apd=TRUE

This re-enables direct connections. The sensor will attempt to connect directly to the CrowdStrike cloud.


Proxy Configuration for Master Images

When creating master images for VM cloning, include proxy settings in your template:

    - Install the sensor - Configure CID and proxy settings - Remove the Agent ID (for cloning) - Seal the image

Example workflow:

# Install and configure
sudo dpkg -i falcon-sensor__amd64.deb
sudo /opt/CrowdStrike/falconctl -s --cid= --apd=FALSE --aph=http://proxy.example.com --app=8080

# Remove AID for cloning
sudo /opt/CrowdStrike/falconctl -d -f --aid

# Shutdown for image capture
sudo shutdown -h now

Troubleshooting

Sensor not connecting through proxy

  • Verify APD is set to FALSE: sudo /opt/CrowdStrike/falconctl -g --apd
  • Check proxy host and port are correct
  • Ensure the proxy allows connections to CrowdStrike cloud endpoints

Proxy authentication issues

  • Verify credentials are correct
  • Check proxy logs for authentication failures
  • Ensure the proxy supports the authentication method being used

Host not appearing in Console

  • Check sensor service is running: systemctl status falcon-sensor
  • Review sensor logs: journalctl -u falcon-sensor
  • Verify network connectivity to proxy
  • Ensure CID is correct

CrowdStrike Cloud Endpoints

Your proxy must allow connections to CrowdStrike cloud endpoints. The specific URLs depend on your cloud region:

  • US-1: ts01-b.cloudsink.net
  • US-2: ts01-gyr-maverick.cloudsink.net
  • EU-1: ts01-lanner-lion.cloudsink.net

Consult CrowdStrike documentation for the complete list of required endpoints for your deployment.


Frequently Asked Questions

Find answers to common questions

To configure a proxy for CrowdStrike Falcon Sensor on Linux, use the falconctl command with the --apd and --aph flags. Run 'sudo /opt/CrowdStrike/falconctl -s --apd=FALSE --aph=http://proxy.example.com --app=8080' to set the proxy host and port. The --apd=FALSE flag disables the default direct connection behavior, forcing traffic through your proxy.

Need Expert CrowdStrike Management?

Our team manages CrowdStrike deployments for businesses like yours. Get 24/7 threat detection and response with expert oversight.