> 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/apple-vpn.md).

# Apple VPN

Configure Apple VPN entries in Remote Desktop Manager for macOS to open a VPN service of macOS, with its method, credentials, secret and options.

This article details the settings available for ***Apple VPN*** entries in Remote Desktop Manager. An ***Apple VPN*** entry opens a VPN service configured in the network settings of macOS.

{% hint style="info" %}
***Apple VPN*** entries work only in Remote Desktop Manager for macOS. The entry type is also listed on Windows and Linux, but it has no ***Connection*** tab there and does not open the VPN.
{% 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 <em><strong>VPN name</strong></em> 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>Host</strong></td><td>Where the VPN name comes from.</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>Method</strong></td><td>How Remote Desktop Manager opens the VPN: <em><strong>AppleScript</strong></em> (default) or <em><strong>Terminal</strong></em>.</td></tr><tr><td><strong>VPN name</strong></td><td>The name of the VPN service in macOS. Select the refresh button to list the VPN services of the computer, or type the name. Select the edit button to open the network settings of macOS.</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. Available with the <em><strong>Terminal</strong></em> method, or when <em><strong>Send credentials via keystrokes</strong></em> is selected. Disabled when the <em><strong>Disable password saving in vaults</strong></em> system setting is enabled.</td></tr><tr><td><strong>Secret</strong></td><td>The shared secret of the VPN.</td></tr><tr><td colspan="2"><strong>Options</strong></td></tr><tr><td><strong>Show console error</strong></td><td>Displays the errors returned when the VPN opens.</td></tr><tr><td><strong>Ignore error code</strong></td><td>Ignores the error code returned when the VPN opens.</td></tr><tr><td><strong>Send credentials via keystrokes</strong></td><td>Types the credentials in the VPN prompt of macOS.</td></tr><tr><td><strong>Autofill delay</strong></td><td>The delay, in milliseconds, before the credentials are typed, from 0 to 60000.</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/apple-vpn.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.
