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

VPN/tunnel/gateway

The VPN/tunnel/gateway section defines a VPN, tunnel or gateway that Remote Desktop Manager opens before the session and closes afterwards: when to connect, which type to use, its credentials and when to disconnect. For an overview, see VPNs, tunnels, gateways, and proxies.

Available for session entries, folders, the vault and synchronizers. It is not shown for VPN entries, since they are the VPN themselves. In the entry properties, select Connection – VPN/tunnel/gateway. For the vault, go to Administration – Vault settings.

Configured on a folder, the settings apply to the entries of the folder that use the Inherited mode. See Configure a VPN for multiple sessions.

The section is read-only for users who do not have the Edit VPN/Tunnel/Gateway configuration permission on the entry. With batch edit, select Override VPN to replace these settings on every selected entry.

The section has two tabs: VPN/tunnel/gateway and Advanced.

General

SETTING
DESCRIPTION

Connect

Defines when the VPN, tunnel or gateway opens:

  • Not enabled: no VPN, tunnel or gateway is used. This is the default value.

  • Always connect: opens it every time the entry opens.

  • Connect manually: does not open it automatically; open it on request, for example with the Connect button.

  • Connect if unable to ping/port scan: opens it only when the host does not answer a ping or a port scan.

  • Inherited: uses the type, the disconnect mode and the VPN group of the parent folder. Not offered for the vault.

  • Ask for confirmation to connect: asks the user before opening it.

  • Connect if the network adapter is not found: opens it only when the network adapter is not found.

  • Prompt if unable to ping/scan: asks the user when the host does not answer a ping or a port scan.

  • Connect if HTTP status code isn’t successful: opens it only when a request to the host does not return a success status code.

With the Devolutions Gateway type, Connect manually, Connect if the network adapter is not found and Prompt if unable to ping/scan are not offered, and Always connect is selected by default.

The Connect button next to the list opens the VPN, tunnel or gateway now, with the current settings. It works on Windows and Linux.

Advanced settings

The button at the end of the Connect list, shown with the modes that test the host or the adapter. It opens the VPN - Advanced settings window:

  • Custom host: host to test instead of the host of the entry. Not shown with Connect if the network adapter is not found.

  • Custom port: port to test. Shown with the ping and port scan modes.

  • Adapter: name of the network adapter to look for. Shown with Connect if the network adapter is not found.

  • Timeout and Custom status: wait time and status codes considered successful. Shown with Connect if HTTP status code isn’t successful.

VPN provider

Type of VPN, tunnel or gateway, grouped under Existing, Configure and Custom. The types are listed after this table. Disabled when Connect is set to Not enabled or Inherited.

The buttons of the field:

  • Browse - VPN type: opens a window that lists the types with their icons.

  • Add: creates a VPN entry in the vault. Windows only.

  • Extract VPN: creates a VPN entry from the settings of a Configure type, so other entries can link to it. Windows only, and shown only to users who can edit the entry and add entries in its folder.

Disconnect

Defines when the VPN, tunnel or gateway closes:

  • On session close: closes it when the session closes. This is the default value.

  • Manually later: leaves it open; close it from Remote Desktop Manager or the VPN client.

  • Confirm disconnection: asks the user when the session closes.

Disabled for the types that Remote Desktop Manager does not close itself, such as Devolutions Gateway, Azure Bastion and CyberArk PSM SSH Proxy. The Disconnect button next to the list closes the VPN, tunnel or gateway now. It works on Windows and Linux.

VPN group

Name of a VPN group. The entries of a VPN group share one VPN connection, which stays open until the last of their sessions closes. Select an existing name, type a new one, or select Add VPN group. Disabled when Disconnect is set to Manually later. See VPN groups.

Credentials (VPN/tunnel/gateway)

These credentials are used to open the VPN, tunnel or gateway, not the session. A warning icon is shown when the selected type does not support credentials.

SETTING
DESCRIPTION

Credentials

Source of the credentials:

  • Default: the credentials entered in the settings of the selected type. This is the default value.

  • Linked (vault): a credential entry of the vault, selected in the Credential field. For credential entries that hold several values, such as a password list, select the value with the link under the field.

  • My personal credentials: the personal credentials of the user. The button at the end of the field edits them.

  • None: no credentials.

  • Linked (user vault): a credential entry of the user vault, selected in the Credential field. Offered when the entry is in the user vault.

  • Find by name (user vault): the credential entry of the user vault whose name matches the Search string, resolved for each user when the VPN opens. Offered when the entry is in a shared vault and the workspace supports the user vault.

  • My privileged account: the privileged account of the user. The button at the end of the field edits it.

Installation path

Shown for the types that use a client application installed on the computer. Select Configure to set where the client is installed. Windows only.

Settings

Shown when a type is selected and Connect is not set to Not enabled. The title includes the name of the type, for example Settings (Cisco VPN). The fields depend on the type:

  • For an Existing type, select the entry to use, such as the VPN entry, the SSH tunnel entry or the session.

  • For a Configure or Custom type, the fields are the same as in the matching VPN entry. See the entry pages linked in the list of types.

Azure resource

Shown for folders and the vault, and for RDP and SSH terminal entries that use the Azure Bastion type. See Configure an Azure Bastion entry in Remote Desktop Manager.

SETTING
DESCRIPTION

Subscription ID

Azure subscription of the virtual machine: Default, Inherited (value of the parent folder) or Custom (enter the ID). A custom value cannot be empty.

Resource group

Azure resource group of the virtual machine: Default, Inherited or Custom (enter the name). A custom value cannot be empty.

Scale set

Virtual machine scale set: Default (a standalone virtual machine), Inherited or Custom (enter the name). A custom value cannot be empty.

Instance ID

Instance of the virtual machine in the scale set. Shown for entries only, enabled when Scale set is not set to Default, and required when it is set to Custom.

Use entry name as Azure Resource name

Uses the name of the entry as the name of the Azure virtual machine. RDP entries only.

CyberArk SIA settings

Shown for RDP and SSH terminal entries that use the CyberArk SIA type. See CyberArk SIA entry.

SETTING
DESCRIPTION

Access mode

How CyberArk Secure Infrastructure Access connects: Zero standing privileges or Vaulted credentials.

Location

Where the target is: On-premises or Cloud. RDP entries with Zero standing privileges only.

Target user

Taken from the username of the entry. Shown with Vaulted credentials.

Address

Taken from the host of the entry.

Target domain

For RDP entries, taken from the domain of the entry, and shown with Vaulted credentials or the Cloud location. For SSH terminal entries with Vaulted credentials, enter the domain.

Network

Name of the CyberArk network of the target. Shown with Vaulted credentials.

Just-in-time elevation with a vaulted credential

Requests a just-in-time elevation of the vaulted account. RDP entries with Vaulted credentials only.

VPN provider types

The list depends on the operating system, the workspace, the entry type and the add-ons installed. Entry types excluded by the administrator are not listed. On macOS, FortiClient IPsec and Cloudflare Warp are not offered; on Linux, the list is shorter and does not include Azure Bastion, Tunnelblick, Tailscale VPN, FortiClient IPsec, Cloudflare Warp and Custom VPN (PowerShell).

GROUP
TYPES

Existing

Uses an entry of the vault or a service:

Configure

Configured in the entry itself, with the same settings as the matching VPN entry:

Custom

Advanced

The Advanced tab is not shown for VPN entries. Its settings apply only when Connect is not set to Not enabled, and they cannot be changed with the VPN link type, which uses the settings of the linked VPN entry.

SETTING
DESCRIPTION

Go offline on connection

Switches the workspace to offline mode when the VPN opens. See VPN with offline mode.

Go online on disconnect after

Switches the workspace back online when the VPN closes, after the number of seconds entered (0 to 180).

Close connection after

Closes the VPN after the number of minutes entered (0 to 4320).

Use adapter to detect connection

Uses the network adapter of the VPN to detect that the connection is open.

Detect reachable host in wait

During the wait after the VPN opens, stops waiting as soon as the host can be reached.

VPN reconnect mode

What to do with the VPN when the session reconnects: Default (application setting), Reconnect VPN or Leave VPN open.

After execution, wait

What Remote Desktop Manager waits for after starting the VPN, before opening the session:

  • Delay: the number of seconds entered (-1 to 180). This is the default value.

  • For IP on adapter: until the adapter entered (adapter name, device name, or blank for any) gets an IP address. Set the maximum wait in Wait a maximum of (seconds) and an extra delay in Then delay (milliseconds).

Commands

Commands to run after the VPN connects and before it disconnects, such as adding routes. Each command has a Name, an After connection command and a Before disconnecting command; manage them with Add, Edit, Delete, Move up and Move down. Available when After execution, wait is set to For IP on adapter. See VPN routing.

After connecting, VPN command enabled

Runs the after connection commands.

Before disconnecting, VPN command enabled

Runs the before disconnecting commands.

Run routes in batch (forces elevated privileges)

Runs all the route commands in one batch, which requires elevated privileges.

Last updated

Was this helpful?