Fortinet black logo

User Guide

24.2.0

Network proxy configuration

Network proxy configuration

In instances where an Agent is deployed in an environment that requires going through an upstream proxy to get public internet access, additional configuration may be needed to allow the Agent to sync with FortiMonitor.

If the proxy server you are using does not require credentials, there is no additional configuration needed. The Agents will automatically pick up the proxy settings from your environment.

For proxies that require credentials, you need to add the credentials to the Agent's manifest file or configuration file. To do so, perform the steps detailed below.

Windows Agent

  1. Open the Agent configuration file (C:\Program Files (x86)\FortiMonitor\Agent.config).

  2. Add an agent_proxy block under the config node, for example:

    <agent_proxy>

    <add key="http" value="http://uname:password@216.128.151.185:3128" />

    </agent_proxy>

  3. Restart the FortiMonitor Agent service.

Note: You can restart the service by running the PowerShell command restart-service FortiMonitorAgent or by going to Windows Services and restarting the FortiMonitor Agent service.

Linux Agent

  1. Open the Agent configuration file (/etc/fm-agent/fm_agent.cfg).

  2. Add an agent_proxy block, for example:

[agent_proxy]

http = http://uname:password@216.128.151.185:3128

MacOS Agent

  1. Open the Agent configuration file (/usr/local/fortimonitor/agent/config/fm-agent-manifest).

  2. Add an agent_proxy block, for example:

[agent_proxy]

http = http://uname:password@216.128.151.185:3128

Network proxy configuration

In instances where an Agent is deployed in an environment that requires going through an upstream proxy to get public internet access, additional configuration may be needed to allow the Agent to sync with FortiMonitor.

If the proxy server you are using does not require credentials, there is no additional configuration needed. The Agents will automatically pick up the proxy settings from your environment.

For proxies that require credentials, you need to add the credentials to the Agent's manifest file or configuration file. To do so, perform the steps detailed below.

Windows Agent

  1. Open the Agent configuration file (C:\Program Files (x86)\FortiMonitor\Agent.config).

  2. Add an agent_proxy block under the config node, for example:

    <agent_proxy>

    <add key="http" value="http://uname:password@216.128.151.185:3128" />

    </agent_proxy>

  3. Restart the FortiMonitor Agent service.

Note: You can restart the service by running the PowerShell command restart-service FortiMonitorAgent or by going to Windows Services and restarting the FortiMonitor Agent service.

Linux Agent

  1. Open the Agent configuration file (/etc/fm-agent/fm_agent.cfg).

  2. Add an agent_proxy block, for example:

[agent_proxy]

http = http://uname:password@216.128.151.185:3128

MacOS Agent

  1. Open the Agent configuration file (/usr/local/fortimonitor/agent/config/fm-agent-manifest).

  2. Add an agent_proxy block, for example:

[agent_proxy]

http = http://uname:password@216.128.151.185:3128