Fortinet white logo
Fortinet white logo

EMS CLI Reference

7.4.6

emscli system set proxy

emscli system set proxy

sets a HTTP/HTTPs proxy system wide

emscli system set proxy [flags]

Options

  -h, --help              help for proxy
      --password string   The password for the user to authenticate on the proxy. If empty, and --user is provided, there will be a prompt for the password.
      --skip.services     By default, proxy settings will also be applied to systemd services. Using this flag will skip and leave those services without proxy setting.
      --url string        The URL for the proxy. It must be a valid URL that includes the protocol/schema, e.g. http://myproxy.io:3128/
      --user string       The username to authenticate on the proxy server. Only required to be used if the proxy requires authentication.

See also

emscli system set proxy

emscli system set proxy

sets a HTTP/HTTPs proxy system wide

emscli system set proxy [flags]

Options

  -h, --help              help for proxy
      --password string   The password for the user to authenticate on the proxy. If empty, and --user is provided, there will be a prompt for the password.
      --skip.services     By default, proxy settings will also be applied to systemd services. Using this flag will skip and leave those services without proxy setting.
      --url string        The URL for the proxy. It must be a valid URL that includes the protocol/schema, e.g. http://myproxy.io:3128/
      --user string       The username to authenticate on the proxy server. Only required to be used if the proxy requires authentication.

See also