Secure Gateway security
You can allow or deny user access to a Secure Gateway based on the settings below. This can be accomplished using the Security tab in the RAS Secure Gateway Properties dialog.
Using Site defaults
To use Site default settings, click the Inherit default settings option. To specify your own settings, clear the option. For more info, see Site defaults (Gateways).
Configuring security
Access Control
Here, an administrator can restrict the usage of the Secure Gateway to specific modes of operation. For example, to enable the exclusive use of the Connection Broker API for user connections, but not the use of the User Portal directly.
The options available are:
Block access to standard RAS sessions. Blocks new authentication to standard RAS sessions, preventing application listing and remote session launch. Existing sessions are not affected.
Block access to User Portal sign in page. Blocks access to the User Portal user interface, including portal login and related pages such as cookie policy and download. Other APIs may still be used.
Block access to sessions via Web API. Blocks new session launch through the Web API. Existing sessions are not affected.
Block access to deprecated Web API. Blocks deprecated Web APIs to reduce security and compatibility risks. This option is ON by default for new installations as well as upgrades. If the option “Block access to sessions via Web API” is enabled, this option is automatically enforced.
Block access to sessions via Connection Broker API. Blocks new session launch through the Connection Broker API. Existing sessions are not affected.
Connection Limits
Connection Limits protect the Secure Gateway from resource exhaustion caused by high or abusive volumes of requests. Without a limit, the Gateway could accept a flood of requests, malicious or accidental. This can consume enough CPU, memory, and threads to make the Gateway 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 Gateway refuses it; existing connections are not affected.
User Portal
HTML5 web-based client connections made through the User Portal.
HTTP
Stateless web requests that don't use persistent sessions.
WYSE
Wyse thin client connections. Only relevant when Wyse support is enabled in the Gateway's runtime settings.
Client
Native Parallels Client traffic: session proxying, RDP tunnelling, URL scheme redirects, client commands, and Device Manager heartbeats.
Client NewAuth
Connections using the modern authentication method for Parallels Clients.
Client Tunneling (via API)
Tunnelled session queries and reconnection-token requests made through the Connection Broker API session path.
Backend
Internal component-to-component traffic (Forward Mode, Controller Proxy, settings exchange, console debug commands). Not client-facing.
All Connections
An overall ceiling across every connection type above combined, so total load on the Gateway can't exceed a safe level even if each individual type is within its own limit.
Per Client IP
The maximum number of connections allowed from a single client IP address.
Blocked Timeout.
How long, in minutes, a client that exceeding its limit is blocked before it's allowed to connect again. The default is 30 minutes.
On new installations, Connection Limits are enabled by default with a starting limit for each type. On farms upgraded from an earlier version, Connection Limits are disabled by default, so existing behavior is unaffected until you turn the feature on.
When a client IP repeatedly exceeds its limit, Parallels RAS adds a temporary Windows Firewall rule to block all traffic from that IP address for the duration of the Blocked Timeout. The rule is removed automatically once the timeout expires, and every block and unblock is logged with the source IP, timestamp, and reason for auditing. Blocked client records persist across restarts, so a client that's still within its blocked period remains blocked if the Gateway service or server restarts.
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 Gateway. 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.
MAC Address Filtering
To configure a list of allowed or denied MAC addresses, click the Configure button and select one of the following options:
Allow all except. All devices on the network will be allowed to connect to the Secure Gateway except those included in this list. Click Tasks > Add to select a device or to specify a MAC address.
Allow only. Only the devices with the MAC addresses included in the list are allowed to connect to the Secure Gateway. Click Tasks > Add to select a device or to specify a MAC address.
Please note that the Secure Gateway MAC address filtering is based on ARP, so the client and server must be on the same network for the filtering to work. It does not work across network boundaries.