Skip to main content
jhimanshu
Staff
Staff
September 3, 2025

Technical Tip: How to set proxy from the FortiSOAR CLI

  • September 3, 2025
  • 0 replies
  • 394 views
Description This article describes how to configure proxy settings on a FortiSOAR machine to allow traffic through the proxy server.
Scope FortiSOAR.
Solution

To configure the proxy, use the csadm commands.

For configuring the HTTPS proxy, run the following command: 

 

csadm network set-https-proxy --host <ip> --port <port> --user <user> --password <password>


For configuring the HTTP proxy, run the following command: 

 

csadm network set-http-proxy --host <ip> --port <port> --user <user> --password <password>


If the proxy server does not require authentication, omit the user and password arguments. By default, the HTTP protocol is set to communicate with the proxy server. If it is necessary to use HTTPS instead, include the argument '--protocol HTTPS' in both of the above set proxy commands.

To bypass proxy for specific hosts, list them in a comma-separated format with the following command:

 

csadm network set-no-proxy --host "host1,host2" 


Validate the applied configuration using: 

 

csadm network list-proxy


Reach out to Fortinet Support in case of queries.