> 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/es/knowledge-base/how-to-articles/configure-a-vpn-with-an-existing-remote-session.md).

# Configurar una VPN con una sesión remota existente

Vincule una entrada RDP existente a una VPN o a Devolutions Gateway en Remote Desktop Manager para iniciar sesiones remotas seguras automáticamente.

Siga este procedimiento para configurar e iniciar sesiones remotas seguras a través de una VPN o Devolutions Gateway en Remote Desktop Manager.

### VPN

Primero debe crear una entrada VPN y, a continuación, haga lo siguiente:

1. Seleccione la entrada RDP.
2. Vaya a las propiedades de su entrada RDP, en ***VPN/Tunnel/Gateway***.
3. Establezca ***Connect*** en ***Always connect***.
4. Establezca ***Type*** en ***VPN link***.
5. Vaya a la pestaña ***Settings (VPN link)*** en la parte superior.
6. Utilice el botón de puntos suspensivos (...) para seleccionar la entrada ***VPN*** que ha creado.
7. Haga clic en ***Update*** para guardar y cerrar la ventana.
8. Inicie su entrada RDP, que primero abrirá la VPN que ha configurado para establecer la conexión.

### Devolutions Gateway

Primero debe instalar [Devolutions Gateway](https://docs.devolutions.net/gateway/es/) y, a continuación, haga lo siguiente:

1. Seleccione la entrada RDP.
2. Vuelva a las propiedades de su entrada RDP, en ***VPN/Tunnel/Gateway***.
3. Establezca ***Type*** en ***Devolutions Gateway***.
4. Vaya a la pestaña ***Settings (Devolutions Gateway)*** en la parte superior.
5. Utilice el botón de puntos suspensivos (...) para seleccionar el Devolutions Gateway.
6. Haga clic en ***Update*** para guardar y cerrar la ventana.
7. Inicie la entrada RDP, que primero abrirá el Devolutions Gateway para establecer la conexión.

#### Véase también

[Youtube- RDM Quick Tip - Launch remote sessions via a VPN or a 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/es/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.
