--- title: "Configure proxy settings for the agent" slug: "configure-proxy-settings-for-the-agent" tags: ["Agent", "Product Usage"] updated: 2026-08-26T19:15:25Z published: 2026-08-26T19:15:25Z canonical: "docs.trellix.com/configure-proxy-settings-for-the-agent" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configure proxy settings for the agent You might need to configure proxy settings if an agent is having trouble accessing the Internet. The proxy is supported on Windows, Macintosh, and Linux operating systems. 1. Select Menu → Policy → Policy Catalog. 2. From **Products**, select Trellix Agent → Repository. Click **Edit** to update a policy. ### Note For ePO - On-prem 5.9 or earlier and McAfee ePO Cloud, select **Trellix Agent** from **Product** drop-down list and **Repository** from **Category** drop-down list. 3. From the list of policies, select any policy listed on this page other than **Trellix Default**. 4. Click **Proxy**. 5. Select your preferred option: - Select **Do not use a proxy** if your agent does not require a proxy to access the Internet. - Select **Use Internet Explorer settings (For Windows) / System Preferences settings (For Mac OSX)/ System environment variables (For Linux)**, then enable **Allow user to configure proxy settings**. ### Note On Linux systems, you can add or modify the proxy information in the `/etc/ma.d/ma_environment.conf` file. Restart the Trellix Agent services once you add or modify the proxy information. The proxy information in a `ma_environment.conf` file can be as shown below: ``` http_proxy=: HTTP_PROXY=: https_proxy=: HTTPS_PROXY=: no_proxy= all_proxy=: ``` To configure the proxy settings for Trellix Agent, and to allow continuous communication with ePO - On-prem when a user session is logged out, use the netsh command to set the proxy. ``` netsh winhttp import proxy source =ie (if the proxy already configured in IE) or netsh winhttp set proxy : ``` - Select **Manually configure the proxy settings** if you need a proxy other than Internet Explorer, and configure the following settings: 1. Select a form for the address of the source HTTP or FTP location where the agent pulls updates. - **DNS Name** - **IPv4** - **IPv6** 2. Type the DNS name or IP address and port numbers of the HTTP or FTP source. If appropriate, select **Use these settings for all proxy types**. 3. Select **Specify exceptions** to designate systems that do not require access to the proxy. 4. Select **Use HTTP proxy authentication** and **Use FTP proxy authentication**, then provide a user name and credentials. 6. Click **Save**. :