> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/forticlient-vpn-ssl.md).

# FortiClient VPN / SSL

Configure FortiClient VPN / SSL entries in Remote Desktop Manager to open a FortiClient IPsec tunnel or SSL VPN session, with its connection options.

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](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/forticlient-ipsec.md).

{% hint style="info" %}
***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`.
{% endhint %}

<table data-header-hidden><thead><tr><th width="200"></th><th></th></tr></thead><tbody><tr><td><strong>SETTINGS</strong></td><td><strong>DESCRIPTION</strong></td></tr><tr><td><strong>Name</strong></td><td>The name of the entry. When the field is empty, the tunnel or session name is used.</td></tr><tr><td><strong>Folder</strong></td><td>The folder where the entry is located.</td></tr><tr><td><strong>Display</strong></td><td>How the entry opens. This entry type only supports <em><strong>External</strong></em>, so the display mode cannot be changed.</td></tr><tr><td><strong>Credentials</strong></td><td>How the credentials of the entry are provided. When the credentials do not come from the entry itself, the credential fields of the <em><strong>Connection</strong></em> tab are disabled.</td></tr><tr><td><strong>VPN type</strong></td><td>The type of VPN the entry opens. Select another type from the list to change the VPN client used by the entry.</td></tr></tbody></table>

### Connection

<table><thead><tr><th width="220">SETTINGS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Connection mode</strong></td><td><p>The type of VPN connection:</p><ul><li><strong>IPsec VPN</strong> — an IPsec tunnel configured in FortiClient. This is the default value for new entries.</li><li><strong>SSL VPN (Deprecated)</strong> — an SSL VPN session of the FortiClient SSL VPN client.</li></ul></td></tr></tbody></table>

**IPsec VPN** (shown with the ***IPsec VPN*** mode)

<table><thead><tr><th width="220">SETTINGS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Tunnel</strong></td><td>The name of the FortiClient IPsec tunnel. Required.</td></tr><tr><td><strong>Username</strong></td><td>The VPN username.</td></tr><tr><td><strong>Password</strong></td><td>The VPN password.</td></tr><tr><td><strong>Ignore server certificate warning</strong></td><td>Ignores the certificate warnings of the VPN server.</td></tr></tbody></table>

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

<table><thead><tr><th width="220">SETTINGS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Session name</strong></td><td>The SSL VPN session saved in FortiClient, or <em><strong>Session settings</strong></em> to enter the server in <em><strong>Host</strong></em> and <em><strong>Port</strong></em>.</td></tr><tr><td><strong>Host</strong></td><td>The VPN server. Enabled and required when <em><strong>Session name</strong></em> is <em><strong>Session settings</strong></em>.</td></tr><tr><td><strong>Port</strong></td><td>The port of the VPN server, from 0 to 65535. Enabled when <em><strong>Session name</strong></em> is <em><strong>Session settings</strong></em>.</td></tr><tr><td><strong>Username</strong></td><td>The VPN username.</td></tr><tr><td><strong>Domain</strong></td><td>The domain of the VPN username.</td></tr><tr><td><strong>Password</strong></td><td>The VPN password.</td></tr><tr><td><strong>Ignore server certificate warning</strong></td><td>Ignores the certificate warnings of the VPN server.</td></tr></tbody></table>

**Options**

<table><thead><tr><th width="220">SETTINGS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Initial delay</strong></td><td>The number of seconds to wait after FortiClient starts, from 0 to 300. The default value is 15.</td></tr><tr><td><strong>Additional parameter</strong></td><td>Additional parameters added to the command of the SSL VPN client.</td></tr><tr><td><strong>Open as hidden</strong></td><td>Starts FortiClient without showing its window. Selected by default. Not supported on Linux.</td></tr><tr><td><strong>Show command</strong></td><td>Displays the command line before it runs.</td></tr><tr><td><strong>Use taskkill to disconnect</strong></td><td>Ends the FortiClient processes to disconnect the VPN. Not supported on Linux.</td></tr><tr><td><strong>Legacy disconnect</strong></td><td>Uses the legacy disconnect command of FortiClient. Not supported on Linux.</td></tr></tbody></table>

### Advanced

<table><thead><tr><th width="220">SETTINGS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Go offline on connection</strong></td><td>Switch Remote Desktop Manager to offline mode when the VPN connects.</td></tr><tr><td><strong>Close connection after</strong></td><td>Close the VPN automatically after the number of minutes entered in the field, from 0 to 4320.</td></tr><tr><td><strong>Detect reachable host in wait</strong></td><td>Detect whether the host can be reached while waiting for the VPN to connect.</td></tr><tr><td><strong>VPN reconnect mode</strong></td><td><p>How Remote Desktop Manager handles the VPN when it reconnects:</p><ul><li><strong>Default</strong></li><li><strong>Reconnect VPN</strong></li><li><strong>Leave VPN open</strong></li></ul></td></tr><tr><td><strong>Go online on disconnect after</strong></td><td>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.</td></tr><tr><td><strong>Use adapter to detect connection</strong></td><td>Use the network adapter to detect whether the VPN is connected.</td></tr><tr><td><strong>After execution, wait</strong></td><td><p>What Remote Desktop Manager waits for after starting the VPN:</p><ul><li><strong>Delay</strong> — Wait for the number of seconds entered in the field, from -1 to 180.</li><li><strong>For IP on adapter</strong> — 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.</li></ul></td></tr><tr><td><strong>Wait a maximum of</strong></td><td>With <em><strong>For IP on adapter</strong></em>, the maximum number of seconds to wait for the adapter to obtain an IP address, from -1 to 180.</td></tr><tr><td><strong>Then delay</strong></td><td>With <em><strong>For IP on adapter</strong></em>, an additional delay in milliseconds once the adapter has an IP address, from -1 to 180000 in increments of 100.</td></tr><tr><td><strong>Commands</strong></td><td>The list of VPN commands, with their <em><strong>Name</strong></em>, <em><strong>After connection command</strong></em>, and <em><strong>Before disconnecting command</strong></em>. Use <em><strong>Add</strong></em>, <em><strong>Edit</strong></em>, <em><strong>Delete</strong></em>, <em><strong>Move up</strong></em>, and <em><strong>Move down</strong></em> to manage the list. The commands are available only when <em><strong>After execution, wait</strong></em> is set to <em><strong>For IP on adapter</strong></em>, and are not supported on macOS.</td></tr><tr><td><strong>After connecting, VPN command enabled</strong></td><td>Run the <em><strong>After connection command</strong></em> of the listed commands once the VPN is connected. Available only when <em><strong>After execution, wait</strong></em> is set to <em><strong>For IP on adapter</strong></em>. Not supported on macOS.</td></tr><tr><td><strong>Before disconnecting, VPN command enabled</strong></td><td>Run the <em><strong>Before disconnecting command</strong></em> of the listed commands before the VPN disconnects. Available only when <em><strong>After execution, wait</strong></em> is set to <em><strong>For IP on adapter</strong></em>. Not supported on macOS.</td></tr><tr><td><strong>Run routes in batch (forces elevated privileges)</strong></td><td>Run the commands as a batch. This option requires elevated privileges. Available only when <em><strong>After execution, wait</strong></em> is set to <em><strong>For IP on adapter</strong></em>. Not supported on macOS.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/forticlient-vpn-ssl.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
