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

OpenVPN GUI

This article details the many settings and options available for OpenVPN GUI VPN entries in Remote Desktop Manager.

Automatic authentication uses simulated key presses to enter credentials for connections. Once the VPN is launched, do not press anything until the authentication completes or the timeout expires.

SETTINGS

DESCRIPTION

Name

The name of the entry.

Folder

The folder where the entry is located.

Display

How the entry opens. VPN entries open as External, and the list cannot be changed. Additional lists let you choose the monitor and the virtual desktop where the window opens.

Credentials

How the credentials of the entry are provided. Select a credential mode from the list.

VPN type

The type of VPN of the entry. OpenVPN GUI is selected for this entry. Selecting another type replaces the settings of the Connection tab.

Connection

The Connection tab holds three sub-tabs: General, Login, and Advanced.

General

SETTINGS
DESCRIPTION

Configuration type

Select where the OpenVPN configuration comes from:

  • Custom — the configuration is defined in the entry with the settings below.

  • Existing — the entry uses an existing OpenVPN configuration file.

File

The existing OpenVPN configuration file. Visible and required when Configuration type is set to Existing.

Use as configuration file path

Use the folder of the selected file as the OpenVPN GUI configuration folder, instead of the configuration folder defined in the application options. Visible when Configuration type is set to Existing.

The settings below are visible when Configuration type is set to Custom.

Host

The list of servers of the configuration. Required. Use the Add, Edit, and Delete buttons to manage the list. Each server has a Host, a Server port, a Protocol, a Local port, Retry connection for (seconds), Max connection retries, No binding, Float (don’t bind to server IP), and optional HTTP proxy and SOCKS proxy settings.

Certificate file format

Select how the certificates are provided:

  • Individual — separate CA Certificate, Client certificate, and Client Key files.

  • PKCS12 — a single PKCS #12 file.

Device

Select the virtual network device type:

  • tap

  • tun

Data ciphers

Select one or more data ciphers from the list, or select All.

Protocol

Select the protocol of the connection:

  • tcp

  • udp

  • udp4

  • udp6

CA Certificate

The CA certificate file. Visible when Certificate file format is set to Individual.

PKCS #12 file

The PKCS #12 file. Visible when Certificate file format is set to PKCS12.

Cipher

Select the cipher from the list.

Client certificate

The client certificate file. Visible when Certificate file format is set to Individual.

Auth Retry

Select the authentication retry behavior:

  • none

  • nointeract

  • interact

Client Key

The client key file. Visible when Certificate file format is set to Individual.

Logging

Select the logging level, from 0 to 9.

TLS Key

The TLS authentication key file.

TLS Key Type

Select the TLS key type:

  • 0

  • 1

  • Default

Use authentication

Authenticate with a username and password.

Random

Connect to the servers of the list in a random order.

No binding

Do not bind to a local address and port.

Check server type

Check the certificate type of the server.

Persist key

Keep the keys across restarts of the connection.

Persist tunnel

Keep the tunnel device open across restarts of the connection.

LZO Compression

Use LZO compression.

Explicit exit notification

Notify the server when the connection closes.

Use client mode

Run OpenVPN in client mode. Checked by default.

Import

Import an OpenVPN configuration file into the entry.

Export

Export the configuration of the entry to a folder.

Additional parameters

Open the Additional configuration parameters window to enter parameters that are not supported by the options of the tab, one per line. Parameters an import does not recognize are added to this list.

Login

SETTINGS
DESCRIPTION

Enable automatic authentication

Enter the username and password automatically when the VPN opens.

Set authentication

Enter the username and password used for automatic authentication. Available when Enable automatic authentication is checked and Credentials is set to Username and password.

Use authentication file

Provide the credentials through an authentication file instead of simulated key presses. Available when Enable automatic authentication is checked.

Login window title

The title of the OpenVPN GUI login window that receives the credentials. Check the box to enter a title. Available when Enable automatic authentication is checked and Use authentication file is cleared.

Check save password box

Check the save password box of the OpenVPN GUI login window. Available when Enable automatic authentication is checked and Use authentication file is cleared.

Enable automatic key password entry

Enter the key password automatically when the VPN opens.

Set key password

Enter the key password used for automatic key password entry. Available when Enable automatic key password entry is checked.

Login window title

The title of the window that receives the key password. Check the box to enter a title. Available when Enable automatic key password entry is checked.

Automatic authentication timeout (seconds)

The maximum time to wait for the login window, from 0 to 300 seconds. A value of 0 is saved as 10.

Autofill delay (ms)

The delay before the credentials are entered, from 0 to 10000 milliseconds.

Advanced

SETTINGS
DESCRIPTION

OpenVPN GUI options

Clear log

Clear the OpenVPN GUI log instead of appending to it.

Hide connection status

Hide the OpenVPN GUI connection status window.

Show toast notifications

Select when OpenVPN GUI shows notifications:

  • Never

  • At initial connect

  • At every reconnect

Custom filename

The name of the configuration file that Remote Desktop Manager creates for OpenVPN GUI. When empty, the host of the first server in the Host list is used. Saved only when Configuration type is set to Custom.

Others

Kill existing sessions before connecting

Close the running OpenVPN processes before opening the connection.

Enable debugging

Enable debugging for the connection.

Advanced

SETTINGS
DESCRIPTION

Go offline on connection

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

Close connection after (min)

Close the VPN automatically after the set number of minutes, from 0 to 4320.

Detect reachable host in wait

While waiting for the VPN, detect whether the host can already be reached.

VPN reconnect mode

Select the reconnect behavior of the VPN:

  • Default

  • Reconnect VPN

  • Leave VPN open

Go online on disconnect after (sec)

Switch Remote Desktop Manager back to online mode the set number of seconds after the VPN disconnects, from 0 to 180.

Use adapter to detect connection

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

After execution, wait

After execution, wait

What Remote Desktop Manager waits for after starting the VPN:

  • Delay — Waits for the set number of seconds, from -1 to 180.

  • For IP on adapter — Waits for an IP address on the network adapter. Enter the adapter name or device name, or click the browse button to select it. The field can be left blank. Wait a maximum of sets the maximum wait in seconds (-1 to 180), and Then delay adds a delay in milliseconds (-1 to 180000).

Commands

Commands

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

After connecting, VPN command enabled

Run the after connection commands once the VPN is connected.

Before disconnecting, VPN command enabled

Run the before disconnecting commands before the VPN disconnects.

Run routes in batch (forces elevated privileges)

Run the routes in a batch. This option requires elevated privileges.

See also

Last updated

Was this helpful?