For the complete documentation index, see llms.txt. This page is also available as Markdown.

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:

📘 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 */}

Add a new network card to the server

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 */}

VPC network selection and confirmation

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 */}

Server with the new VPC network card

🚧 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 */}

Static route added from CMD

📘 One route for each remote network

If the tunnel provides access to several remote networks, add one static route for each one.

The option -p makes 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?