A common issue we find is that users install a VPN service on their Windows server and immediately lose connection. Often by default, VPN software takes over the internet connection of the server, routing all traffic via the VPN - including the user RDP session. In this guide we explain and outline what settings to change so that your RDP session and VPN can co-exist.
Works without changes
The following VPN software works without any configuration changes:
OpenVPN
TunnelBear
Proton VPN
Requires additional configuration
ExpressVPN
Press the hamburger icon in the top-left of your Express VPN client and choose "Options". Then, untick "Stop all internet traffic if the VPN disconnects unexpectedly" and press "OK".
Mullvad
Step 1: Press the settings cog in the top right corner of your Mullvad client.
Step 2: Open the "VPN settings" window.
Step 3: Toggle on the "Local network sharing" option.
Step 4: Scroll until you see the "Use custom DNS server" option and toggle that on. Under the custom DNS heading, press "Add a server". Add the IP addresses "1.1.1.1" and "1.0.0.1" (or another private DNS provider).
Step 5: Go back to the main settings and open the "Split tunneling" options.
Step 6: Toggle on Split tunneling next to its heading and press the "+" icon next to "Remote Desktop Connection" in the list below.
Step 7: While still in the split tunnelling menu, press "Find another app".
Step 8: Navigate to "C:\Windows\System32\", find "svchost.exe", and press "Add".
NordVPN
Step 1: Press the settings cog in the bottom left corner of your VPN client and click "Connection" in the main pane.
Step 2: Toggle on the "Allow remote access while connected to VPN" option.
WireGuard
Step 1: Click on the tunnel you use for your VPS server in your WireGuard client and press "Edit" in the bottom right corner.
Step 2: Untick "Block untunneled traffic (kill-switch)" in the bottom left corner and press "Save".
DNS Leaks
As always, you should check for DNS leaks before continuing.