FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
mturic
Staff
Staff
Article Id 197099
Description
This article describes how to deploy FSSO TS-Agent via CLI.
This can be useful for automated (silent) installations that can be pushed on remote servers via GPO.

This feature is possible with the MSI installer version.

Solution
Example of CLI install switches/syntax.
TSAgent_Setup_5.0.0291.msi /qn COLLECTORAGENTLIST="x.x.x.x:8002,x.x.x.x:8002" PORTPOOLRANGES="15000-35000" MAXPORTRANGESPERSESSION="2" PORTNUMPERALLOC="200" LOGLEVEL="0" SSLMODE="1" PSK="P@$$w0rd!" /log "C:\temp\file.txt"
Configurable options.
COLLECTORAGENTLIST                      <----- IP addresses of FSSO Collector Agents with specified FSSO CA listening ports, separated by comma.

PORTPOOLRANGES                          <----- Port allocation pool range, in format 20000-39999.

MAXPORTRANGESPERSESSION                 <----- Maximum number of port allocation ranges .

PORTNUMPERALLOC                         <----- Maximum number of ports per port allocation range.

LOGLEVEL                                <----- TS-Agent logging level.
0 – Debug
1 – Info
2 – Warning
3 – Error
4 - None
SSLMODE                                 <----- Enable Secure Communication (only available with FortiAuthenticator).
1 – Enabled
2 - Disabled
PSK                                     <----- Secure Communication preshared key, required only when SSLMODE is set to enabled, secure communication to the FSSO Collector Agent.
Once the CLI command is executed, the log file shows the successful result (error status = 0):
MSI (s) (98:90) [16:13:59:537]: Product: Fortinet SSO Terminal Server Agent v5.0.0291 -- Installation completed successfully.
MSI (s) (98:90) [16:13:59:537]: Windows Installer installed the product. Product Name: Fortinet SSO Terminal Server Agent v5.0.0291. Product Version: 5.0.0291. Product Language: 1033. Manufacturer: Fortinet. Installation success or error status: 0.

Related Articles

Technical Tip: How to setup TS-Agent configuration

Contributors