> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/da/knowledge-base/how-to-articles/configure-a-vpn-with-an-existing-remote-session.md).

# Konfigurer en VPN med en eksisterende fjernsession

Knyt en eksisterende RDP-post til en VPN eller Devolutions Gateway i Remote Desktop Manager for at starte sikre fjernsessioner automatisk.

Følg denne fremgangsmåde for at konfigurere og starte sikre fjernsessioner via en VPN eller Devolutions Gateway i Remote Desktop Manager.

### VPN

De skal først oprette en VPN-post og derefter gøre følgende:

1. Vælg RDP-posten.
2. Gå til egenskaberne for Deres RDP-post under ***VPN/Tunnel/Gateway***.
3. Sæt ***Opret forbindelse*** til ***Opret altid forbindelse***.
4. Sæt ***Type*** til ***VPN-link***.
5. Gå til fanen ***Indstillinger (VPN-link)*** øverst.
6. Brug ellipseknappen (...) til at vælge den ***VPN***-post, De har oprettet.
7. Klik på ***Opdater*** for at gemme og lukke vinduet.
8. Start Deres RDP-post, som først åbner den VPN, De har konfigureret, for at oprette forbindelsen.

### Devolutions Gateway

De skal først installere [Devolutions Gateway](https://docs.devolutions.net/gateway) og derefter gøre følgende:

1. Vælg RDP-posten.
2. Gå tilbage til egenskaberne for Deres RDP-post under ***VPN/Tunnel/Gateway***.
3. Sæt ***Type*** til ***Devolutions Gateway***.
4. Gå til fanen ***Indstillinger (Devolutions Gateway)*** øverst.
5. Brug ellipseknappen (...) til at vælge Devolutions Gateway.
6. Klik på ***Opdater*** for at gemme og lukke vinduet.
7. Start RDP-posten, som først åbner Devolutions Gateway for at oprette forbindelsen.

#### Se også

[YouTube – RDM Quick Tip – Start fjernsessioner via en VPN eller en Devolutions Gateway](https://www.youtube.com/watch?v=xaC_7hYE33M)<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/rdm/da/knowledge-base/how-to-articles/configure-a-vpn-with-an-existing-remote-session.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
