> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-admin-guide/parallels-ras-22-administrators-guide/ras-connection-broker/enabling-connection-broker-api.md). Agents can also search and read this documentation through its [MCP server](https://docs.parallels.com/landing/~gitbook/mcp).

# Enabling Connection Broker API

It is possible to manage sessions in Parallels RAS without using the RAS Connection Brokers to carry out the management. This is useful for organisations that wish to manage sessions via a third-party method. The steps to enable this are below.

In addition to the steps below, configuration via API is needed. This API is documented [here](https://download.parallels.com/ras/v21/en_US/Parallels-RAS-Connecting-Using-Connection-Broker-API.pdf).

Navigate to **Farm** > **Site** > **Connection Brokers** and follow the instructions below:

1. Choose **Tasks** > **Site Defaults** (or choose the properties of an individual Connection Broker to assign to a specific Connection Broker)
2. Choose the **API** tab
3. Choose **Enable API** (if configuring on an individual Connection Broker, you will need to deselect **Inherit Default Settings**)

### **SSL/TLS**

1. Select the **API Port** option and specify a port number for secure API communication
2. In the **Accepted SSL Versions** drop-down list, select the SSL/TLS version required.
3. In the **Cipher Strength** field, select a desired cipher strength.
4. If Custom is chosen in the **Cipher Strength** field, in the **Cipher** field, specify the cipher. A stronger cipher allows for stronger encryption, which increases the effort needed to break it.
5. The **Use ciphers according to server preference** option is ON by default. You can use client preferences by disabling this option.
6. In the **Certificates** drop-down list, select a desired certificate. For the information on how to create a new certificate and make it appear in this list, see the [**SSL Certificate Management** ](https://docs.parallels.com/landing/ras-admin-guide/parallels-ras-22-administrators-guide/ssl-certificate-management.md)chapter.

### **API Token**

To use an API token, set the HTTP Authorization header value set when making API requests.

When the **Enable API** option is selected, an **API Token String** is generated. Choosing **Regenerate** will issue a new API Token String.

### **Encryption Certificate**

The chosen encryption certificate will be used by the Connection Broker API when creating runtime data between backend components.

To set this, navigate to **Farm** > **Site** > **Connection Brokers** and select the **API** tab (if this tab is not visible, it indicates that **Enable API** has not been selected).

If **Automatic** is selected, the default method of using the site certificate will be used. The list shows certificates available with the `Third-Party Encryption` property selected.

For the information on how to create a new certificate and make it appear in this list, see the [**SSL Certificate Management** ](https://docs.parallels.com/landing/ras-admin-guide/parallels-ras-22-administrators-guide/ssl-certificate-management.md)chapter.

### **Connection Limits**

Connection Limits protect the Connection Broker from resource exhaustion caused by high or abusive volumes of requests. Without a limit, the Connection Broker could accept a flood of requests, malicious or accidental. This can consume enough CPU, memory, and threads to make the Connection Broker unresponsive.

Connection Limits can be switched on or off overall, and independently for each connection type below.

Setting a limit to `0` disables enforcement for that type. When a new connection of a given type would exceed its configured limit, the Connection Broker refuses it; existing connections are not affected.

<table data-header-hidden="false" data-header-sticky><thead><tr><th width="202.01171875">Connection type</th><th>Description</th></tr></thead><tbody><tr><td><strong>Connection Broker API</strong></td><td>External API session requests to the Connection Broker — authentication, session enumeration, and tunnelling negotiation.</td></tr><tr><td><strong>Backend</strong></td><td>Internal component-to-component communication between the Connection Broker and other RAS infrastructure services. Not client-facing.</td></tr><tr><td><strong>All Connections</strong></td><td>An overall ceiling across both connection types combined.</td></tr><tr><td><strong>Per Client IP</strong></td><td>The maximum number of connections allowed from a single client IP address.</td></tr><tr><td><strong>Blocked Timeout.</strong></td><td>How long, in minutes, a client that exceeding its limit is blocked before it's allowed to connect again. The default is 30 minutes.</td></tr></tbody></table>

#### **Exclusions**

You can maintain a list of client IP addresses or ranges (CIDR notation is supported) that should never be blocked by Per Client IP — for example, other Parallels RAS components such as Secure Gateways or Connection Brokers, monitoring systems or internal load balancers. An excluded IP address is never firewall-blocked, but still contributes to the connection-type and All Connections limits.

#### **Prerequisites**

Per Client IP blocking requires Windows Firewall to be enabled on the server hosting the Connection Broker. If Windows Firewall is disabled, RAS logs a warning and simply closes the excess connection instead of blocking the client.

To view the current number of active connections per type, navigate to **Information** > **Site** in the Parallels RAS Console.


---

# 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.parallels.com/landing/ras-admin-guide/parallels-ras-22-administrators-guide/ras-connection-broker/enabling-connection-broker-api.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.
