How to Connect to the Remote Desktop Environment via site-to-site VPN
Connect the Remote Desktop server to the customer's office network through a VPN tunnel: add the VPC network card and the static route to the remote network.
So that the Remote Desktop environment can reach the client's office network without exposing anything to the internet, you connect it through a site-to-site VPN tunnel. This guide covers the missing part on the Remote Desktop server side, once the tunnel already exists: adding the VPC network card and the static route to the remote network.
This is the topology we arrive at: the server goes out to the internet through the Standard network (its default route) and reaches the office network through the VPC network via the tunnel, thanks to a static route.

👍 What you get
The Remote Desktop server communicating with the office network through the VPN tunnel, with its network card in the VPC and the static route to the remote network.
Before you begin
This guide assumes that the VPN tunnel is already set up. You need to have before:
An active Remote Desktop subscription. If you don't have one yet, set it up with the Remote Desktop Quick Start.
A network VPC with its associated TIER. The process is in Server networks.
A site-to-site VPN tunnel already created, in How to create a site-to-site VPN tunnel.
📘 Where to see the VPN configuration
The tunnel configuration (public IPs of both ends, networks, and TIER) is in the Servers subscription, in the VPN subsection. It will serve as a reference for the static route data in Step 2.
Step 1. Add the VPC network card to the server
Go to the server tab that was deployed with the Remote Desktop environment: Servers → edit server → Network Cards. Click to add a new network card.
{/* 📸 SCREENSHOT 1 · Server Network Cards · add new card */}

In the wizard, select the VPC (TIER) network you want to connect and continue. If there is only one network available, just continue; if there are several, choose the correct one before continuing.
{/* 📸 SCREENSHOT 2 · TIER network selection · continue */}

When finished, the server has two interfaces: the Standard (INT) network as the default, and the new VPC (TIER).
{/* 📸 SCREENSHOT 3 · server with its two network cards */}

🚧 The default route still goes out through the Standard network
The server keeps its default outbound path through the Standard network gateway. For it to reach the office network through the tunnel, you need to add a static route that goes through the VPC network gateway. That is Step 2.
Step 2. Add the static route to the office network
Connect to the server (via RDP, web console, etc.), open CMD as administrator and add a persistent route that directs traffic from the remote network through the VPC gateway:
For example, to reach the office network 192.0.2.0/16 through the VPC gateway 10.0.0.254:
{/* 📸 SCREENSHOT 4 · CMD with the route -p add command executed */}

📘 One route for each remote network
If the tunnel provides access to several remote networks, add one static route for each one.
The option
-pmakes it persistent, so it survives server restarts.
Conclusion
Connecting Remote Desktop over site-to-site VPN, once the tunnel exists, is two steps: give the server a foothold in the VPC network with a new network card, and tell it how to reach the office with a persistent static route to the VPC gateway.
With that, the environment reaches the client's network through the encrypted tunnel, without exposing the service to the internet. Remember to add one route for each remote network it needs to reach.
Last updated
Was this helpful?

