Implementation
- Last Updated: May 13, 2025
- 4 minute read
- LoadMaster
- LoadMaster GA
- Documentation
Configure the LoadMaster settings by following the steps below in the LoadMaster WUI:
- In the main menu, select Virtual Services and Add New.

- Enter the relevant IP address in the Virtual Address text box.
- Enter 443 as the Port.
- Enter a recognizable Service Name, such as RD Gateway.
- Click Add this
Virtual Service.
Section
Option
Value
Comment
Standard Options
Transparency
Disabled
Persistence Mode
Source IP Address
Persistence Timeout 1 Hour Scheduling Method
least connection
Idle Connection Timeout
28800
8 hours
SSL Properties
SSL Acceleration
Enabled
A wildcard certificate allows secure connections to be established with a request URL in the format of *.example.com. With this approach, a single certificate secures traffic for all clients in a multi-tenant environment.
Reencrypt Enabled Supported Protocols
TLS1.0
TLS1.1
TLS1.2
TLS1.3
While this workload may not support TLS1.3 yet, we recommend enabling it for future proofing. Cipher Set
Best Practices
For further information on cipher sets, refer to the SSL Accelerated Services Feature Description.
Advanced Properties
Content Switching
Disabled
Real Servers
Real Server Check Method
HTTPS Protocol
Checked Port
443
URL
/rpc
HTTP Method
HEAD
Note: If you are running Remote Desktop Services in the cloud, you must configure the Remote Desktop Gateway to be at Layer 7. In the Standard Options section, disable Layer 4 and ensure Transparency is disabled. When you disable Layer 4 it should set the Real Server Forwarding method to NAT. These settings are required because the Microsoft Azure or Amazon Web Services (AWS) firewall blocks the traffic when it is directly returned to the client. - Enter the settings based on the
recommended values above.
RDP version 8 and above contains new features that use UDP as well as TCP to increase performance over networks with low bandwidth, high latency, or high packet loss. The UDP protocol is also used by the RD Gateway. To allow usage of these protocol enhancements, you must configure the RD Gateway to allow load balancing of UDP traffic. To do this, follow the steps below:
- In the main menu of the LoadMaster
WUI, select Virtual Services > Add New.

- In the Virtual Address text box, enter the same IP address that was used in the previous TCP Gateway configuration, for example, 10.154.11.52.
- Enter 3391 as the Port.
- Select udp as the Protocol.
- Click Add this
Virtual Service.
Section
Option
Value
Comment
Standard Options Transparency Enabled Persistence Mode
Source IP Address
Persistence Timeout 1 Hour Scheduling Method
least connection
In most RD Gateway environments, configuring Least Connection is the most suitable option. However, any option can be selected. For example, if a relative weight is configured to an RD Gateway Server, selecting weighted least connection here would also add the configured weight as a factor in calculating the schedule.
Real Servers
Real Server Check Method
ICMP Ping
Port
3391
Forwarding Method
Direct return
- Enter the settings based on the recommended values above.
Cloud Deployments – The UDP traffic for RDP version 8 must be set to use Layer 7 when deployed in cloud environments. In the Standard Options section, disable Transparency and ensure that the forwarding method is set to NAT. These settings are required because the Microsoft Azure or Amazon Web Services (AWS) firewall blocks traffic that is directly returned to the client.
Non-Cloud Deployments -The UDP traffic for RDP version 8 can be configured to use Direct Server Return (DSR). Therefore, you must make some changes to the RD Gateway Servers to make the setup work. To make these changes, follow the steps below:
- Open the Device Manager on both RD Gateway Servers.
- Right-click the computer name and
select Add legacy hardware.
- Select Install the hardware that I manually select from a list (Advanced).
- Click Next.
- Select Network adapters.
- Click Next.
- Select the Microsoft KM-TEST Loopback Adapter.
- Click Next.
- This creates a new network adapter. To make it easier to identify, rename it, for example to LoadMaster LoopBack.
- Open the TCP/IP properties.
- In the IP address text box, enter the IP address that matches the Virtual Service address.
- Enter 255.255.255.255 in the Subnet mask text box.
- Click the Advanced button.
- Enter 254 in the Interface metric text box.
- Click OK.
- Click OK again.
- Run the following three commands (using elevated permissions) in the console. Enter the name of the loopback adapter where <loopback> is mentioned. Enter the name of the primary network adapter where <net> is mentioned.
netsh interface ipv4 set interface <net> weakhostreceive=enabled
netsh interface ipv4 set interface <loopback> weakhostreceive=enabled
netsh interface ipv4 set interface <loopback> weakhostsend=enabled