Allowing remote access to FortiClient EMS and using custom port numbers
To allow remote access to FortiClient EMS from a web browser, install FortiClient EMS by entering the following command in the CLI. You can also specify custom HTTP and HTTPS port numbers:
FortiClientEndpointManagement_6.4.9.XXXX_x64.exe ServerHostname=<preferred_host_name> ClientDownloadPort=<HTTP_port_number> RemoteManagementPort=<HTTPS_port_number> AllowedWebHostnames=<allowed_web_host_names> ApacheServerAdminEmail=<Apache_Server_admin_email_address>
The example specifies the server hostname as emshost.ems.com, appends emshost.ems.com to the allowed web hostnames, and specifies example@example.com as the Apache server administrator email. This example changes the HTTP and HTTPS ports to 1080 and 22443, respectively.
FortiClientEndpointManagement_6.4.9.XXXX_x64.exe ServerHostname=emshost.ems.com ClientDownloadPort=1080 RemoteManagementPort=22443 AllowedWebHostnames=emshost.ems.com ApacheServerAdminEmail=example@example.com