# RAS Secure Gateway

<table><thead><tr><th width="136">Source</th><th width="132">Destination</th><th width="110">Protocol</th><th width="95">Port</th><th>Description</th></tr></thead><tbody><tr><td>RAS Secure Gateway in Forwarding mode</td><td>RAS Secure Gateway in Normal mode</td><td><p>TCP, UDP</p><p>TCP, UDP</p></td><td><p>80, 443</p><p>3389</p></td><td><p>Management and user session connections.</p><p>Optional - Used for user session if RDP Load Balancing is enabled.</p></td></tr><tr><td></td><td>RAS Performance Monitor</td><td>TCP</td><td>8086</td><td>Agent (Telegraf service) sends collected performance data to InfluxDB.</td></tr><tr><td>RAS Secure Gateway in Normal mode</td><td>Remote Desktop Services</td><td>TCP, UDP</td><td>3389</td><td>RDP Connections.</td></tr><tr><td></td><td>RAS Connection Broker</td><td><p>TCP</p><p>TCP, UDP</p></td><td><p>20002</p><p>20009</p></td><td><p>RAS Connection Broker service port - communications with RAS Secure Gateways and the RAS Console (in Normal mode only).</p><p>Device Manager shadowing via Firewall (indirect network connection) if RAS Console runs on RAS Connection Broker</p></td></tr><tr><td></td><td>RAS Performance Monitor</td><td>TCP</td><td>8086</td><td>Agent (Telegraf service) sends collected performance data to InfluxDB.</td></tr><tr><td></td><td>Localhost</td><td>TCP</td><td>20020</td><td>Communication with User Portal web server (NodeJS).</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/ras-admin-guide/parallels-ras-21-administrators-guide/appendix/port-reference/ras-secure-gateway.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
