A Remote Desktop Gateway (RD Gateway) allows multiple users to securely access a Windows VPS through Remote Desktop Protocol (RDP) using encryption and authentication. This guide will walk you through installing, configuring, and securing an RD Gateway server on a Windows Server VPS.
📌 Prerequisites
- 
A Windows Server VPS (2016, 2019, or 2022) from VolticHost
 - 
Administrator access
 - 
Ports 443 (TCP) and 3389 (TCP) open in the firewall
 - 
A domain name or static IP (recommended for SSL configuration)
 
1️⃣ Install Remote Desktop Services (RDS) Role
- 
Open Server Manager (
Win + S, type "Server Manager", press Enter). - 
Click Manage → Add Roles and Features.
 - 
Select Role-based or feature-based installation and click Next.
 - 
Select your server → Click Next.
 - 
Under Server Roles, expand Remote Desktop Services, then check:
- 
Remote Desktop Gateway
 - 
Remote Desktop Licensing
 
 - 
 - 
Click Next and complete the installation.
 
✅ RD Gateway is now installed!
2️⃣ Configure RD Gateway Server
- 
Open Server Manager → Click Remote Desktop Services.
 - 
Select RD Gateway Manager.
 - 
Right-click your server name → Select Properties.
 - 
Under Transport Settings, select:
- 
Enable HTTPS port: 443
 - 
Enable RDP port: 3389
 
 - 
 - 
Click Apply and OK.
 
✅ Your RD Gateway server is now configured!
3️⃣ Configure Windows Firewall for RD Gateway
- 
Open Windows Defender Firewall (
Win + R, typewf.msc, press Enter). - 
Click Advanced Settings → Inbound Rules → New Rule.
 - 
Select Port, then click Next.
 - 
Choose TCP, enter 443, 3389, then click Next.
 - 
Select Allow the connection, then click Next again.
 - 
Apply to Domain, Private, and Public networks.
 - 
Name the rule RD Gateway Ports and click Finish.
 
✅ Your RD Gateway server is now accessible!
4️⃣ Add Remote Desktop Users
- 
Open Control Panel → System and Security → System.
 - 
Click Remote settings (left panel).
 - 
Under Remote Desktop, click Select Users.
 - 
Click Add → Enter the username of allowed users.
 - 
Click OK to save changes.
 
✅ Users can now access the RD Gateway!
5️⃣ Configure an SSL Certificate for Secure Connections
- 
Open RD Gateway Manager.
 - 
Click SSL Certificate → Import a new certificate.
 - 
Select your SSL certificate file (.pfx) and enter the password.
 - 
Click Apply and OK.
 
✅ Your RD Gateway is now secured with SSL encryption!
6️⃣ Connect to the RD Gateway from a Remote Client
From Windows PC
- 
Open Remote Desktop Connection (
Win + R, typemstsc, press Enter). - 
Click Show Options → Advanced → Settings.
 - 
Select Use these RD Gateway settings:
- 
Server name: Your VPS IP or domain
 - 
Logon method: Ask for password
 
 - 
 - 
Click OK → Enter your credentials → Click Connect.
 
✅ You are now connected through RD Gateway!
7️⃣ Automate RD Gateway Startup (Optional)
To ensure RD Gateway starts automatically:
- 
Open Task Scheduler (
Win + R, typetaskschd.msc, press Enter). - 
Click Create Basic Task (right panel).
 - 
Name it Start RD Gateway → Click Next.
 - 
Select When the computer starts → Click Next.
 - 
Select Start a program → Click Next.
 - 
Enter:
net start TSGateway - 
Click Finish.
 
✅ RD Gateway will now start automatically on reboot!
🎉 Conclusion
You've successfully set up a Windows VPS as an RD Gateway server! Your secure RDP connection is now ready for remote access and encrypted communication. 🚀
For more assistance, contact VolticHost Support.