WireGuard
This article details the many settings and options available for WireGuard VPN entries in Remote Desktop Manager.
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.
VPN type
The type of VPN of the entry. WireGuard is selected for this entry. Selecting another type replaces the settings of the Connection tab.
Connection
Configuration mode
Select where the WireGuard configuration comes from:
Custom — the tunnel is defined in the entry, on the General, Peers, and Commands sub-tabs.
Link to file — the entry uses an existing WireGuard configuration file.
The rest of the Connection tab holds the General sub-tab, plus the Peers and Commands sub-tabs when Configuration mode is set to Custom.
General
File
The WireGuard configuration file. Visible and required when Configuration mode is set to Link to file.
The settings below are visible when Configuration mode is set to Custom.
Tunnel name
The name of the WireGuard tunnel. Required.
Addresses
The addresses of the interface, one per line.
DNS
The DNS servers of the interface, one per line. Required unless Use empty DNS is checked.
Use empty DNS
Do not set DNS servers for the interface. Disables the DNS field.
Private key
The private key of the interface.
Override listening port
Check to set the listening port of the interface in the field below, from 0 to 65535.
Table
Select the routing table setting of the interface:
auto
Off
Custom — enter the table number in the field next to the list.
Override MTU
Check to set the MTU of the interface in the field below, from 0 to 65535. The value is 1420 by default.
Peers
Peers
The list of peers, with their Endpoint, Public key, and Keep alive. Use the toolbar to Add, Edit, or Delete a peer. The Peer settings window holds the Endpoint, the Allowed IPs, the Public key, the Pre-shared key, and the Keep alive interval (0 to 65535).
Commands
Commands
The list of commands to run with the tunnel, in order. Use the toolbar to Add, Edit, Delete, Move up, or Move down a command. Each command has a Command and a Command type:
Before the interface is brought up
After the interface is brought up
Before the interface is brought down
After the interface is brought down
Advanced
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?