Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

FortiClient VPN / SSL

This article details the settings available for FortiClient VPN / SSL VPN entries in Remote Desktop Manager. A FortiClient VPN / SSL entry starts the FortiClient command-line tools to open an IPsec tunnel or an SSL VPN session. For the entry type that uses the FortiClient API, see FortiClient IPsec.

FortiClient VPN / SSL entries are available on Windows and Linux, and require FortiClient to be installed on the computer. On Windows, Remote Desktop Manager uses ipsec.exe in C:\Program Files\Fortinet\Forticlient and FortiSSLVPNclient.exe in C:\Program Files\Fortinet\SslvpnClient.

SETTINGS

DESCRIPTION

Name

The name of the entry. When the field is empty, the tunnel or session name is used.

Folder

The folder where the entry is located.

Display

How the entry opens. This entry type only supports External, so the display mode cannot be changed.

Credentials

How the credentials of the entry are provided. When the credentials do not come from the entry itself, the credential fields of the Connection tab are disabled.

VPN type

The type of VPN the entry opens. Select another type from the list to change the VPN client used by the entry.

Connection

SETTINGS
DESCRIPTION

Connection mode

The type of VPN connection:

  • IPsec VPN — an IPsec tunnel configured in FortiClient. This is the default value for new entries.

  • SSL VPN (Deprecated) — an SSL VPN session of the FortiClient SSL VPN client.

IPsec VPN (shown with the IPsec VPN mode)

SETTINGS
DESCRIPTION

Tunnel

The name of the FortiClient IPsec tunnel. Required.

Username

The VPN username.

Password

The VPN password.

Ignore server certificate warning

Ignores the certificate warnings of the VPN server.

SSL VPN (shown with the SSL VPN (Deprecated) mode)

SETTINGS
DESCRIPTION

Session name

The SSL VPN session saved in FortiClient, or Session settings to enter the server in Host and Port.

Host

The VPN server. Enabled and required when Session name is Session settings.

Port

The port of the VPN server, from 0 to 65535. Enabled when Session name is Session settings.

Username

The VPN username.

Domain

The domain of the VPN username.

Password

The VPN password.

Ignore server certificate warning

Ignores the certificate warnings of the VPN server.

Options

SETTINGS
DESCRIPTION

Initial delay

The number of seconds to wait after FortiClient starts, from 0 to 300. The default value is 15.

Additional parameter

Additional parameters added to the command of the SSL VPN client.

Open as hidden

Starts FortiClient without showing its window. Selected by default. Not supported on Linux.

Show command

Displays the command line before it runs.

Use taskkill to disconnect

Ends the FortiClient processes to disconnect the VPN. Not supported on Linux.

Legacy disconnect

Uses the legacy disconnect command of FortiClient. Not supported on Linux.

Advanced

SETTINGS
DESCRIPTION

Go offline on connection

Switch Remote Desktop Manager to offline mode when the VPN connects.

Close connection after

Close the VPN automatically after the number of minutes entered in the field, from 0 to 4320.

Detect reachable host in wait

Detect whether the host can be reached while waiting for the VPN to connect.

VPN reconnect mode

How Remote Desktop Manager handles the VPN when it reconnects:

  • Default

  • Reconnect VPN

  • Leave VPN open

Go online on disconnect after

Switch Remote Desktop Manager back to online mode after the VPN disconnects, once the number of seconds entered in the field has elapsed, from 0 to 180.

Use adapter to detect connection

Use the network adapter to detect whether the VPN is connected.

After execution, wait

What Remote Desktop Manager waits for after starting the VPN:

  • Delay — Wait for the number of seconds entered in the field, from -1 to 180.

  • For IP on adapter — Wait for the network adapter entered in the field to obtain an IP address. Enter an adapter name or a device name, or leave the field blank. Click the browse button to select an adapter.

Wait a maximum of

With For IP on adapter, the maximum number of seconds to wait for the adapter to obtain an IP address, from -1 to 180.

Then delay

With For IP on adapter, an additional delay in milliseconds once the adapter has an IP address, from -1 to 180000 in increments of 100.

Commands

The list of VPN commands, with their Name, After connection command, and Before disconnecting command. Use Add, Edit, Delete, Move up, and Move down to manage the list. The commands are available only when After execution, wait is set to For IP on adapter, and are not supported on macOS.

After connecting, VPN command enabled

Run the After connection command of the listed commands once the VPN is connected. Available only when After execution, wait is set to For IP on adapter. Not supported on macOS.

Before disconnecting, VPN command enabled

Run the Before disconnecting command of the listed commands before the VPN disconnects. Available only when After execution, wait is set to For IP on adapter. Not supported on macOS.

Run routes in batch (forces elevated privileges)

Run the commands as a batch. This option requires elevated privileges. Available only when After execution, wait is set to For IP on adapter. Not supported on macOS.

Last updated

Was this helpful?