# Adding a RAS Secure Gateway

To add a RAS Secure Gateway to a Site, follow these steps:

1. In the RAS Console, navigate to **Farm** > \<Site> > **Secure Gateways**.
2. With the **Secure Gateways** tab selected in the right pane, click **Tasks** > **Add** to start the **Add RAS Secure Gateway** wizard.
3. Enter the server FQDN or IP address (or click the **\[...]** button to select a server from the list). To automatically resolve IP address to FQDN, enable the global **Name Resolution** option. For details, see [**Host Name Resolution**](https://docs.parallels.com/landing/ras-admin-guide/parallels-ras-21-administrators-guide/common-management-tasks/host-name-resolution)**.**
4. Select the gateway mode from the **Mode** drop-down list.
5. If you selected the **Forwarding** mode in the step above, select the destination gateway in the **Forward To** drop-down list. You can also select a specific IP address in the **On IP** drop-down list if the Gateway server has more than one.
6. Select the **Enable HTML5 Gateway** option to automatically create a self-signed certificate, enable SSL, and enable HTML5 support. For more info, please see [**Configure User Portal**.](https://docs.parallels.com/landing/ras-admin-guide/parallels-ras-21-administrators-guide/ras-secure-gateway/configuring-a-ras-secure-gateway/configure-user-portal)
7. Select the **Add Firewall Rules** to automatically configure the firewall on the server hosting the gateway. See **Port Reference** for details.
8. Click **Next**.
9. On the next page, click **Install** to start the RAS Secure Gateway installation.
10. Click **Done** when the installation is finished.


---

# 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/ras-secure-gateway/adding-a-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.
