| 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. |