> 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/gateway/quick-start.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Quick start

Install Devolutions Gateway, register it in Devolutions Server or Devolutions Cloud and open a first session through it in about ten minutes.

By the end of this page, a Devolutions Gateway is installed, registered in your Devolutions Server or Devolutions Cloud workspace, and you have opened a first RDP session through it from Remote Desktop Manager. It takes about ten minutes.

Devolutions Gateway always works with a workspace that authorizes its sessions. With Devolutions Server, the fastest path is the Devolutions Server Console, which installs the gateway on the Devolutions Server machine and registers it for you. With Devolutions Cloud, you install the gateway on one of your own Windows servers with the installer downloaded from Devolutions Cloud, then register it in the Devolutions Cloud web interface.

{% stepper %}
{% step %}

### Check what you need

<table><thead><tr><th width="300">WHAT YOU NEED</th><th>WHERE TO GET IT</th></tr></thead><tbody><tr><td>A Devolutions Server or Devolutions Cloud workspace, and an account allowed to manage gateways</td><td>Devolutions Server: the <em><strong>Gateways</strong></em> – <em><strong>Manage</strong></em> administrative permission (included in the <em><strong>Gateway administrator</strong></em> role). Devolutions Cloud: the <em><strong>Manage gateways</strong></em> system permission.</td></tr><tr><td>A 64-bit Windows server for the gateway</td><td>With Devolutions Server, the Devolutions Server machine itself works for this quick start. Other options (another Windows server, Linux, Docker) are in <a href="https://docs.devolutions.net/gateway/guides/understand/deployment-options.md">Deployment options</a>; hardware sizing is in <a href="https://docs.devolutions.net/gateway/reference/system-requirements.md">System requirements</a>.</td></tr><tr><td>Network access</td><td>Remote Desktop Manager must reach the gateway on TCP ports 7171 (HTTP or HTTPS) and 8181 (TCP listener), and the gateway must reach the target host on its protocol port (3389 for RDP). Devolutions Server must reach the gateway URL. With Devolutions Cloud, the administrator's browser and the PAM Service, if one is installed, must reach the gateway URL, and the gateway must reach Devolutions Cloud over HTTPS (TCP 443) to send its session notifications. See <a href="https://docs.devolutions.net/gateway/reference/ports-and-firewall.md">Ports and firewall</a>.</td></tr><tr><td>A TLS certificate for the gateway, for an HTTPS listener</td><td>A certificate trusted by the client computers, with the full chain. A side-by-side installation with Devolutions Server uses the HTTPS address of Devolutions Server instead. See <a href="https://docs.devolutions.net/gateway/guides/certificates.md">Certificates and TLS</a>.</td></tr><tr><td>Remote Desktop Manager connected to the workspace, with an RDP entry</td><td><a href="https://docs.devolutions.net/rdm">Remote Desktop Manager documentation</a>.</td></tr><tr><td>A Devolutions Gateway license</td><td>Registered in Devolutions Server or Devolutions Cloud. See <a href="https://docs.devolutions.net/gateway/guides/understand/licensing.md">Licensing</a>.</td></tr></tbody></table>
{% endstep %}

{% step %}

### Install and register the gateway

{% tabs %}
{% tab title="Devolutions Server" %}
On the machine that hosts Devolutions Server:

1. Open the Devolutions Server Console and select your Devolutions Server instance.
2. Open the ***Companions*** tab.
3. In the ***Devolutions Gateway*** group, click ***Install*** – ***Side-by-side installation***.
4. Keep the default ***HTTP listening port*** (7171) and ***TCP listening port*** (8181), or enter other ports. ***Server Name*** is the name users see when they pick a gateway (default "Devolutions Gateway").
5. Click ***OK*** and wait for the installation to finish.

The Devolutions Server Console downloads the latest Devolutions Gateway installer, installs and starts the ***Devolutions Gateway*** service, sets it to start automatically, forwards the `/jet/` path of the Devolutions Server website to the gateway, and creates the gateway in Devolutions Server.

To check it, sign in to the Devolutions Server web interface, go to ***Administration*** – ***Devolutions Gateway***, open the menu of the new gateway and click ***Ping***. The expected message is "Devolutions Gateway '{0}' is alive and healthy.", where {0} is the gateway name.

{% hint style="info" %}
***Side-by-side installation*** is enabled when Devolutions Gateway is not already installed on the machine, the Devolutions Server instance runs in IIS, and the version of the instance supports side-by-side installation. Otherwise the button is shown but disabled. To install the gateway on another server, use ***Standard installation*** or the installer: see [Install Devolutions Gateway from the Devolutions Server Console](https://docs.devolutions.net/gateway/guides/devolutions-server/install-from-console.md).
{% endhint %}
{% endtab %}

{% tab title="Devolutions Cloud" %}
In the Devolutions Cloud web interface:

1. Go to ***Administration*** – ***Devolutions Gateway***.
2. Click ***More*** – ***Download public key***. Your browser saves `provisioner.pem`, the public key the gateway uses to recognize sessions authorized by your Devolutions Cloud.
3. Click ***More*** – ***Download MSI*** to download the Devolutions Gateway installer for Windows.

On the Windows server that will run the gateway:

1. Copy `provisioner.pem` to the server and run the installer as an administrator.
2. On the ***Configuration*** page, choose ***Now*** to let the installer create the configuration and start the service. Leave ***Enable the Gateway web interface*** cleared: the keys come from Devolutions Cloud.
3. On the ***Listeners*** page, keep the ***HTTP Listener*** on port 7171 (HTTPS recommended) and the ***TCP Listener*** on port 8181.
4. In ***External URL***, enter the address users and Devolutions Cloud will use, for example `https://gateway.example.com:7171`.
5. On the certificate page, select your certificate (a `.pfx` file with its password, a certificate file with its private key file, or a certificate from the Windows certificate store).
6. On the ***Companion Server*** page, choose ***Manual configuration***.
7. On the ***Encryption Keys*** page, select `provisioner.pem` as the ***Public Key File***.
8. Review the ***Summary*** page and finish the installation.

Back in the Devolutions Cloud web interface, on the ***Devolutions Gateway*** page:

1. Click ***Add*** – ***Gateway***.
2. Enter a ***Name*** and the ***Devolutions Gateway URL*** (the external URL entered in the installer).
3. Click ***Auto-Detect*** to fill ***TCP Hostname*** and ***TCP Listening Port*** from the gateway.
4. Select ***Set as default*** so entries without a specific gateway use this one.
5. Click ***Test connection***. Devolutions Cloud tests the gateway from your browser and from the PAM Service, if one is installed.
6. Click ***Add***.

Every step of the installer is detailed in [Install on Windows](https://docs.devolutions.net/gateway/for-administrators/install/windows.md).
{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}

### Route an entry through the gateway

In Remote Desktop Manager, connected to the same workspace:

1. Right-click an RDP entry and choose ***Properties***.
2. Open the ***VPN/tunnel/gateway*** section.
3. Set ***Connect*** to ***Always connect***.
4. Set ***VPN provider*** to ***Devolutions Gateway***.
5. Pick the gateway in the list. ***Default (…)***, followed by the name of the default gateway, follows the gateway marked as default in the workspace.
6. Click ***Check health*** to confirm Remote Desktop Manager can reach the gateway, then save the entry.

{% hint style="info" %}
***Devolutions Gateway*** appears in ***VPN provider*** only for entry types that support it, such as RDP, SSH, VNC, Apple Remote Desktop, SFTP, SCP, Telnet, PowerShell and websites. The full list is in [Supported protocols and features](https://docs.devolutions.net/gateway/guides/understand/protocols-and-features.md).
{% endhint %}
{% endstep %}

{% step %}

### Open the session

Open the entry. Remote Desktop Manager asks the workspace for a session authorization, connects to the gateway, and the gateway connects to the RDP host. The session opens as usual.

To see it on the gateway side, go to ***Administration*** – ***Privileged access*** – ***Devolutions Gateway*** in Remote Desktop Manager, select the gateway and open the ***Sessions*** tab. In the web interface, use the gateway menu – ***Active Sessions*** (Devolutions Server) or ***More*** – ***Sessions*** (Devolutions Cloud).

{% hint style="warning" %}
If the session does not open, the message names the cause: "Unable to connect with Devolutions Gateway: …" with the reason, or "Devolutions Gateway is unreachable. Please make sure it is up and running." See [Error messages](https://docs.devolutions.net/gateway/help/troubleshooting/error-messages.md).
{% endhint %}
{% endstep %}

{% step %}

### Open the same entry in a browser (optional)

With a gateway registered, users with a Remote Desktop Manager or Devolutions Launcher license can open RDP, SSH, Telnet, VNC, Apple Remote Desktop and PowerShell entries in a browser tab from the Devolutions Server or Devolutions Cloud web interface, without any client installed. The browser connects to the gateway URL directly, so it must be reachable from the user's computer. See [Open sessions in a web browser](https://docs.devolutions.net/gateway/guides/connect/web-client.md).
{% endstep %}
{% endstepper %}

## You're done. What next?

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Record sessions</strong></td><td>Store recordings of the sessions that go through the gateway, play them and watch live sessions.</td><td><a href="https://docs.devolutions.net/gateway/guides/recording.md">Record sessions</a></td></tr><tr><td><strong>Restrict what a gateway can reach</strong></td><td>Allow or deny hosts, subnets, ranges and domains with Gateway rulesets.</td><td><a href="https://docs.devolutions.net/gateway/guides/devolutions-server/rulesets.md">Gateway rulesets in Devolutions Server</a></td></tr><tr><td><strong>Add a second gateway</strong></td><td>Group gateways in a farm to share the load and keep sessions available during maintenance.</td><td><a href="https://docs.devolutions.net/gateway/guides/devolutions-server/farms.md">Gateway farms in Devolutions Server</a></td></tr></tbody></table>


---

# 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/gateway/quick-start.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.
