Securing Remote Desktop Protocol (RDP) with an SSL VPN

Documentation Made Easy3 min read#security #rdp #vpn #tls #remote-work

Infographic: securing remote desktop with an SSL VPN in five steps, from remote user and MFA to TLS tunnel, VPN gateway and RDP host

Remote Desktop Protocol (RDP), developed by Microsoft, lets people use a computer, server or application from anywhere, as if they were sitting in front of it. Administrators, remote workers, developers and support teams rely on it every day.

That convenience is also a risk. RDP servers exposed directly to the internet are a favourite target for attackers, and a compromised RDP login can lead to data breaches or ransomware. Putting RDP behind an SSL VPN is one of the most effective ways to protect it.

RDP basics

RDP sends the remote screen to you and your keyboard and mouse input back, so it feels local. Key features:

  • Desktop access and control: see and operate a remote machine.
  • Resource sharing: files, clipboard, printers and drives.
  • Encryption: modern RDP uses TLS and Network Level Authentication (NLA).

Common uses include system administration, remote work, software testing, training and support.

What is an SSL VPN?

An SSL VPN creates an encrypted tunnel between a user and a private network using the TLS protocol. "SSL" is the historical name; TLS replaced SSL years ago, but the term stuck. SSL VPNs come in two forms:

  • Clientless: users connect through a web browser portal.
  • Client-based: a small app gives full network access.

Building blocks

  • Authentication: passwords plus multi-factor authentication (MFA), tokens or digital certificates.
  • Encryption: TLS protects everything in transit.
  • Access control: rules decide who can reach which systems, following the principle of least privilege.
  • Endpoint checks: the gateway can check that a device is patched and has security software before letting it in.

Why organisations choose SSL VPNs

  • Easy access from laptops, tablets and phones, even through a browser.
  • Strong encryption using the same TLS that protects online banking.
  • MFA support to stop stolen passwords from being enough.
  • Granular control per user or group.
  • Good fit for BYOD, with posture checks for personal devices.
  • Scales from small teams to large enterprises.

How an SSL VPN works

  1. Handshake: the client and gateway agree on encryption settings and verify certificates.
  2. Authentication: the user proves who they are, ideally with MFA.
  3. Encrypted session: TLS encrypts traffic, today typically with AES-GCM or ChaCha20. Older ciphers like RC4 and 3DES are deprecated and should be disabled.
  4. Session management: sessions time out and users re-authenticate periodically.
  5. Reverse proxy (often): the gateway sits between users and internal servers, so those servers are never directly reachable from the internet.

For configuration guidance, see NIST's TLS guidelines (SP 800-52).

Why put RDP behind an SSL VPN?

  • RDP isn't exposed to the internet: port 3389 is closed to the outside world, which removes the most common attack path.
  • Two layers of authentication: VPN login with MFA, then RDP login.
  • Protection on untrusted networks: hotel and café Wi-Fi can't read your session.
  • Visibility: the gateway logs who connected, when and to what.
  • Device checks: only healthy devices reach your servers.

Setting it up: a checklist

On the VPN gateway

  1. Install and configure the SSL VPN following your vendor's guide.
  2. Install a valid TLS certificate from a trusted certificate authority.
  3. Connect authentication to your directory (for example Active Directory or Entra ID) and turn on MFA.
  4. Create a policy that allows RDP (TCP 3389) only to specific hosts and only for specific groups.

On the RDP hosts and network

  1. Require Network Level Authentication on the RDP host.
  2. Update firewall rules so RDP is reachable only from the VPN address range.
  3. Keep hosts patched, and lock accounts after repeated failed logins.

On user devices

  1. Install the VPN client (or share the portal address).
  2. Configure the RDP client to connect to the internal host name once the VPN is up.

Before launch

  1. Test from outside the network: RDP must fail without the VPN and work with it.
  2. Document the setup and train users.

Authentication best practices

  • MFA everywhere: an authenticator app or hardware key, not just SMS where possible.
  • Certificates: strong, but plan how you'll issue, renew and revoke them.
  • Passwords: long passphrases and a check against known-breached passwords. Current NIST guidance favours this over forced regular changes.

Conclusion

RDP is indispensable, but it should never face the internet on its own. An SSL VPN with MFA, tight access rules and good logging turns it into a secure, user-friendly way to work from anywhere.

Using Linux? Read Remote desktop from Linux with Remmina.

Found this useful? Share it, or tell me what to write next.