RDP Proxy Configuration
Overview
The RDP Proxying feature allows RDP connections, established using a launcher, to be routed through Secret Server. You can set it up one of two ways:
- Recommended method: The launcher connects to the newer RDP proxy with temporary credentials, and the RDP proxy connects to the remote server using the protected credentials from the secret. This method is preferred because it prevents the secret credentials from reaching the client machine. For this method, you simply configure the RDP proxy.
- Alternative method: The launcher uses an SSH proxy to tunnel a local RDP connection to a remote server. This method does not protect the credential from reaching the client machine. For this method you configure the SSH proxy and enable SSH tunneling.
These two approaches to RDP proxying are not compatible—you may use one or the other but not both. We performance tested both methods. Either can support 100 concurrent connections.
Recommended Method
How It Works
-
The user clicks the RDP launcher in Secret Server.
-
The launcher executes on the client's machine.
-
The launcher establishes a connection to the RDP Proxy using credentials generated for the session.
These credentials are short-lived and can only be used within a 15-minute window. To support reconnects in keeping with the RDP protocol, the window resets upon reconnect. -
Once the launcher has successfully authenticated with the RDP proxy, the RDP proxy looks up the credentials and target hostname to connect to.
The secret credentials do not get served to the client machine in this flow, which improves credential security. -
The RDP proxy connects to the desired remote host with the secret credentials.
-
The RDP session is established.
-
RDP traffic is sent back and forth over the RDP proxy, session keystrokes are monitored if session recording is enabled.
Configuration
-
Navigate to the Admin > Proxying page.
-
Click the RDP Proxy tab.
-
If necessary, enable the RDP proxy.
-
Click the Endpoints tab to ensure that your server nodes, sites, and engines have RDP Proxy enabled.
-
Proxied RDP secrets now launch into the RDP proxy using short-lived credentials, protecting the secret credentials from the client machine.
Configuration Settings
The RDP proxy configuration settings for the recommended method:
- Enable RDP Proxy: This setting determines whether or not the RDP proxy is enabled
- RDP Proxy Port: This setting is the port that the RDP proxy runs on (defaulting to 3390). You usually cannot set this to 3389 as that port is already occupied by default by the Windows operating system.
- Validate Remote Certificates:Delinea recommends that you operate in an environment where RDP server certificates are created by a controlled CA and are trusted by machines in the domain. If that is not possible, you can disable remote certificate validation to allow connection to machines that do not serve trusted certificates. See Remote Certificate Validation for more details.
- Allow AD site selection: This setting allows you to select any configured sites when using the RDP launcher on an Active Directory secret. This allows a secret credential to access machines that may exist in different network boundaries.
- Proxy New Secrets By Default: This setting determines if SSH and RDP secrets are created with "Proxy Enabled" set by default. This setting is shared with the SSH proxy configuration.
- Days To Keep Operational Logs: This setting determines how long, in days, the operational logs for the RDP proxy are kept.
- RDP Server Certificate: This setting is the certificate that is served to the clients who connect to the RDP proxy. You can generate a certificate for a given DNS name, or you can upload your own. Please see Microsoft's documentation for instructions on creating Certificates for more details on how to create a certificate via a Windows Trusted Domain.
- Use Secret Server RDP Client: When using protocol handler and this is disabled, the RDP window label only displays the proxy server name. When this setting is enabled, the RDP window label also displays the target server and that the connection is proxied. This setting is found under the launcher itself in Admin > Secret Templates > Launchers.
Alternative Method
How It Works
-
The user clicks the RDP launcher in Secret Server.
-
The launcher executes on the client's machine.
-
The launcher establishes a connection to the SSH proxy to begin port forwarding.
-
The launcher authenticates with the SSH Proxy.
-
The launcher opens a socket.
-
The launcher listens for a connection on an available ephemeral port (the forwarding port) on the client's machine.
-
RDP launches on the client machine using the secret credentials and connects locally to the forwarding port.
-
All RDP traffic for this session is routed through the SSH tunnel to Secret Server, then forwarded to the target machine.
-
The RDP session is established.
Configuration
- Navigate to the Admin > Proxying page.
-
Enable the Enable SSH Tunneling option.
-
Click the Endpoints tab to ensure that your server nodes, sites, and engines are properly configured.
-
Proxied RDP secrets now launch into the SSH proxy using local port forwarding.
Known Issues
"Could not load file or assembly..." Error
Error appears in Secret Server.log or DE.log. Install the most recent version of the .NET Framework to correct it.
RDP Proxy Does Not Work with FIPS Validation
RDP proxy does not work on machines the have the FIPS validation security policy active. No fix is currently available.