Migrate from RD Gateway and RD Web Access to Apache Guacamole: what the work involves
Apache Guacamole replaces the RD Gateway and RD Web Access roles, not the session hosts. Your Windows Server session hosts, their collections and applications stay where they are, and Guacamole connects to them over RDP on your behalf. The migration is therefore a front-end replacement plus a rebuild of identity and connection definitions. Most teams do this with an internal platform or infrastructure group working alongside an implementation partner, usually because the connection inventory, certificate handling and MFA design take coordination across identity, network and Windows administration. The effort is moderate and scales mainly with the number of session collections, the number of published apps that must be rebuilt as individual connections, and how many authentication paths you must support during cutover.
Start with an inventory before any build. Export the RD Gateway policies, the RD Web Access feed and the collection membership for each session collection, then record which users reach which hosts, through which gateway, and whether they use RemoteApp, full desktop or both. Guacamole models access as connections and connection groups, so each collection maps to a group and each published app becomes a connection. Confirm which Active Directory groups currently authorize access, because the Guacamole Active Directory and LDAP extension will need those same groups. Decide early whether Guacamole's database holds connection definitions in MariaDB or MySQL, PostgreSQL or SQL Server, since the database is the backend you will back up, patch and recover.
Plan MFA, printing and drive redirection as separate test tracks, because they fail for different reasons. Guacamole supports Duo and TOTP extensions, so confirm which second factor your policy requires and test it for every user group, including service accounts that must be excluded. Test printing and drive redirection on each protocol path, since RDP redirection settings are defined per connection and must be set consistently across the rebuilt inventory. Keep RDS CALs and session host licensing in scope throughout: the front end changes, but the licenses that govern connecting to the RD Session Host do not disappear with the gateway. Retire the gateway role only after a parallel run confirms every collection works, and keep the old gateway available for rollback until the cutover window closes.
Which RDS front-end capabilities map cleanly to Guacamole and which need rework
This table maps each RD Gateway and RD Web Access capability to its Guacamole equivalent and marks it as clean, needs rework or gap. Read the status as a planning signal for your pilot, not a guarantee, because native client behavior such as RemoteApp and redirection depends on the client used and must be confirmed in your own environment.
| Capability | Guacamole equivalent | Status | What to confirm in a pilot |
|---|---|---|---|
| RD Gateway tunneling | Guacamole web application and guacd relay RDP sessions over HTTPS from the browser to session hosts | Clean | Firewall rules from guacd to session hosts on the RDP port, and whether your network policy allows that path |
| RD Web Access portal | Guacamole web interface with connection lists organized into connection groups | Clean | How users find and open connections, and whether the layout meets your users' expectations |
| RemoteApp feeds | No direct equivalent; users open full desktops or individual connections instead of published application windows | Gap | Which published apps are business critical and whether they can be replaced by full session access |
| Connection authorization policies | Connection and group permissions in the Guacamole administration interface, populated from directory groups | Needs rework | Every RD CAP and RD RAP rule mapped to a Guacamole group, with a review of rules that depended on gateway-level device checks |
| Active Directory group-based access | Active Directory and LDAP extension mapping directory groups to Guacamole users and groups | Needs rework | Nested group handling, service account scope and whether group membership changes sync at the timing you expect |
| Multi-factor authentication | Duo or TOTP extensions added to the login flow | Needs rework | Enrollment process for existing users and whether MFA applies to every entry point, including direct URLs |
| Session recording | Session recording through the recording player extension, with recordings stored on the server | Needs rework | Recording scope, retention settings and who can review recordings, with your compliance requirements in mind |
| Printing and drive redirection | Available depending on protocol and client settings; behavior varies by the RDP client and connection parameters | Needs rework | Printer and drive mapping for each target OS and browser, confirmed with real user workflows in your pilot |
What data and integrations move, and what you rebuild
Guacamole does not import an RD Gateway or RD Web Access configuration, so the migration is a rebuild of the same objects in a new model. The cards below cover what you inventory from RDS, what you recreate in the Guacamole database, and which identity and MFA pieces must be wired in before users connect.
RDS collections and session hosts
Start by exporting a complete inventory of session collections, the RD Session Host servers in each collection, and the published apps and desktops behind them. Each RDS collection usually maps to a group of Guacamole connections, and each session host name or address becomes a connection target. Record protocol settings such as port, resolution and security mode, because Guacamole connections carry their own parameters. No export path is supplied for this, so the team must script the query or document it by hand before the gateway is retired.
User-to-collection assignments
Capture which users and groups can reach which collection, since these assignments are the access model you must reproduce. In Guacamole, permissions are granted per connection and per connection group, so each RDS assignment needs an equivalent permission entry. Check for nested groups, direct user grants and any exceptions that were added outside the normal group structure, because these are easy to miss in a hand rebuild.
Active Directory group mapping
Guacamole's Active Directory and LDAP extension can authenticate users against your existing directory, so group membership can drive which connections appear. Confirm the search base, the group attribute used for membership and how nested groups resolve in your forest. Test with a pilot group before cutover, and decide which group names become Guacamole connection groups so that administrators can audit the mapping later.
Database backend and schema setup
Guacamole stores connections, users and permissions in a database, and the manual documents MariaDB or MySQL, PostgreSQL and SQL Server as backends. Pick the one your team already backs up, restores and monitors, then plan the schema creation and the import scripts that populate connections and permissions. Keep the scripts in version control so that a rebuild after a failure is repeatable and reviewed.
Guacamole manualMFA extension for remote access
Duo and TOTP extensions add a second factor to Guacamole sign-in, which matters because RD Gateway MFA controls often sit outside the connection path you are replacing. Confirm where MFA is enforced for every entry point, including any direct access to guacd or the web application, and decide how enrollment and recovery codes are handled. This control supports the multi-factor requirement for remote network access in CIS Controls v8.1 Safeguard 6.4.
Session recording player
Guacamole's session recording player extension is optional, but if your current RDS deployment retains session evidence for monitoring or investigations, it must be replaced deliberately. Decide where recordings are stored, who can play them and how long they are kept, and confirm these settings against your own retention policy. Test one recorded session end to end before you retire the gateway, since NIST SP 800-171 requirement 3.1.12 expects remote access sessions to be monitored and controlled.
How to run RDS and Guacamole in parallel, then cut over
This sequence moves users from RD Gateway and RD Web Access to Apache Guacamole without a single-day switch, so each connection, sign-in method and device redirection is proven before the old front end is retired.
Inventory gateway policies and collections
Your infrastructure or Windows administrators export the RD Gateway connection authorization and resource authorization policies, the session collections on the RD Session Host farm, and the RemoteApp programs published to each group. The output is a connection inventory that lists every target host, protocol, allowed Active Directory group, published app and the owner of each collection. Treat the inventory as done when each row maps to one owner and one test account, and when you have confirmed with the business which apps users actually open.
Deploy guacd and the web application
Your platform engineers install guacd and the Guacamole web application on hardened Linux hosts inside your network, or in containers using the documented Docker method, and attach a database backend on MariaDB or MySQL, PostgreSQL or SQL Server. Place the web application behind a TLS-terminating reverse proxy, keep guacd reachable only from the web tier, and confirm the database and service health checks pass. Done means a test connection to one RDP host succeeds from a browser and the database holds the expected schema and admin account.
Import connections per session collection
Using the inventory, your administrators create connection groups that mirror each RDS session collection and assign RDP connections to the matching target hosts. Map each group to the Active Directory groups that previously held access, and remove any connection that exists only for a retired RemoteApp feed. Done means every inventory row has a Guacamole connection, group permissions match the old authorization policies, and a reviewer has signed off the mapping.
Integrate Active Directory and MFA
Your identity team connects Guacamole to Active Directory through the LDAP extension, then adds a second factor using the Duo or TOTP extension, or an SSO method such as SAML or OpenID Connect if your identity provider already enforces MFA. Confirm that the MFA requirement cannot be bypassed by direct URL access and that the control maps to your remote access policy, including CIS Control 6.4 if you use it as a benchmark. Done means a test user from each group signs in with the expected factor and a user outside the groups is refused.
Pilot printing and drive redirection
Select a small pilot group that represents the heaviest use of local resources, then test printing to local and network printers, clipboard transfer, and drive redirection for each target application. Record which features work through Guacamole's RDP support, which need a different configuration, and which users rely on native RDS client behavior that the browser path does not reproduce. Done means the pilot group completes its daily tasks with a written list of accepted gaps and a named owner for each one.
Run both front ends in parallel
Keep RD Gateway and RD Web Access running while the pilot group and then the wider user base can choose either path, and monitor authentication failures, session counts and help desk tickets on both. Enable session recording on the Guacamole side if your audit requirements call for monitored remote access sessions, in line with NIST SP 800-171 requirement 3.1.12. Done means the parallel period has produced no unresolved access or redirection defects and the owners of each application have confirmed their workflows.
Cut over the published address
Change the DNS record or load balancer target for the published remote access address to point at the Guacamole reverse proxy, and keep the old RD Gateway endpoint reachable for a rollback window agreed in writing before the change. Your change owner runs a signed-off cutover checklist covering DNS, certificates, MFA, logging and the rollback steps. Done means the checklist is signed by the application owners and the security lead, and the first production sessions are confirmed through Guacamole's logs.
Retire the gateway role
After the agreed rollback window closes without open defects, remove the RD Gateway and RD Web Access roles from the server, update the RDS deployment and firewall rules, and archive the exported policies and the connection inventory. Confirm which RDS roles still remain, such as the session hosts and any licensing server, and update the RDS licensing position with your licensing advisor. Done means the gateway role is removed, the archive is stored under your records retention policy, and the change is closed in your change management system.
How guacd and the web application handle sessions in the new path
The Guacamole web application handles sign-in and the browser interface, while guacd opens the actual RDP connection to the session host on the user's behalf. This split is the core design fact to plan around. Users never hold an RDP connection to the session host from their own device. Instead, the browser speaks HTTPS to the Guacamole web application, the web application speaks the Guacamole protocol to guacd, and guacd loads the RDP client plugin and connects to the Windows session host. Per the Guacamole architecture documentation, the web application only speaks the Guacamole protocol and forwards it to guacd, and guacd reads just enough of that protocol to choose a plugin. Your team needs to map this chain on paper before cutover, because each hop is a separate place where access is granted, logged or broken.
That chain creates a trust boundary. Guacamole's web application is where authentication, authorization and connection permissions are evaluated, so it should sit in a segment that is hardened, patched and monitored as a remote access control point. The guacd host is the component that holds the RDP sessions into your session hosts, so it needs firewall rules that permit TCP connections from the web application and outbound RDP only to the session hosts and collections in scope. Putting guacd on a network path that reaches session hosts is a deliberate choice: it keeps the RDP ports closed to user subnets and the internet. Confirm the exact ports and any Network Level Authentication settings against your own session host configuration, since those depend on your environment.
RD Gateway wraps RDP inside a TLS tunnel on its own. In the Guacamole model, that tunnel is replaced by HTTPS from the browser to the Guacamole web application, and the RDP leg runs between guacd and the session host inside your network. Verify that the HTTPS endpoint carries a certificate your clients trust, that TLS settings meet your policy, and that the internal leg is covered by your segmentation. For monitoring, NIST SP 800-171 requirement 3.1.12 (CMMC Level 2 practice AC.L2-3.1.12) expects remote sessions to be monitored and controlled. Plan which events you will capture at the web application (logins, MFA results, connection launches) and at guacd or the session host (session start and end, failures), and confirm that session recording with the Guacamole session recording player meets your retention and review needs. Guacamole's own logs do not replace the audit trail you had from RD Gateway until you have tested it.
How the migration changes by farm size and starting point
A farm with one session collection and a small user base has a short connection list and usually one identity source to connect. The work concentrates on rebuilding that list accurately and proving that sign-in and MFA work end to end for every user.
- Connection import: Export the collection's published desktops and apps from the RD Connection Broker, then create one RDP connection per host or app inside a single connection group so users see the same list they see today.
- Identity integration: Point the Guacamole web application at the directory that already holds these users through the LDAP or Active Directory extension, so no second user store is created.
- MFA: Add the Duo or TOTP extension to the same sign-in path and test it with each user group, since a small farm rarely has a separate pilot population.
- Testing effort: A short test matrix covering clipboard, printing, drive redirection and session recording on each session host is usually sufficient because the number of hosts and protocol paths is small.
Before cutover, confirm that the firewall rules allowing traffic from the gateway to the session hosts over RDP match the rules the old gateway used.
A farm with several session collections and published RemoteApp programs turns the migration into a mapping exercise. Each collection's published programs must become connections in a clearly named group, and the way users launch a single application from a web feed does not carry over one-to-one, so users need to learn the new launch path.
- Connection import: Inventory every collection, its session hosts and its published programs first, then build connection groups that mirror the collections so that access reviews stay aligned with the old structure.
- Application behavior: Guacamole delivers a full remote desktop session in the browser. Decide, per program, whether users should reach it from a desktop session on the host or through a dedicated connection, and test that choice with real users before rollout.
- Identity integration: Map each collection's access to directory security groups so that group membership controls which connection groups a user can see.
- Testing effort: Test each collection separately, because host images, printer mappings and drive redirection settings often differ between collections.
Before migrating, check whether any collection depends on the RD Web feed or on RDS-specific policies, and confirm which of those have an equivalent in Guacamole.
When users sign in only with Microsoft Entra ID and no on-premises Active Directory is available for binding, the identity work shifts from LDAP to a federated sign-in protocol. Guacamole's documented extensions include OpenID Connect and SAML, so the first decision is which protocol to configure and how group information reaches Guacamole's permission mapping.
- Connection import: Connections still come from the RDS inventory, but the RDP credential source changes. If session hosts are domain joined, confirm how the account Guacamole uses to log in to them is stored, scoped and rotated.
- Identity integration: Configure OpenID Connect or SAML with Entra as the identity provider, then map Entra groups or app roles to Guacamole permissions. Test the shape of the group claims before any user depends on them.
- MFA: Entra conditional access can enforce MFA at sign-in, so decide whether Guacamole also enforces a second factor or relies on the identity provider's policy, and document that decision for auditors.
- Testing effort: Test disabled accounts, guest accounts and users removed from a group, because deprovisioning depends on the identity provider's group changes and on session lifetimes.
Confirm the exact Entra configuration and the extension version in your own environment, since claim options and supported settings depend on those products.
What drives the cost and duration of an RD Gateway migration
This table lists the factors that move the effort of moving RD Gateway and RD Web Access users to Apache Guacamole, why each one matters, and how to reduce it. Read it before requesting a quote, because the scope you agree in writing sets the final duration and fees. No figures are given here, so ask for them in the written scope.
| Driver | Why it changes effort | How to keep it down |
|---|---|---|
| Collections and published apps | Each RDS session collection and RemoteApp feed must become a Guacamole connection or connection group with its own target, credentials and permissions. More collections mean more mapping and more test cases. | Consolidate collections that share the same access rules. Retire unused RemoteApp programs before the import, and export the list from the RD Connection Broker first. |
| Number of session hosts | Every session host behind the gateway needs a connection entry, load and failover decisions, and a check that RDP settings such as NLA and certificates still work through guacd. | Group hosts by role in connection groups. Standardize RDP settings so one template covers most hosts. |
| Identity complexity | Mapping AD groups to Guacamole permissions, handling nested groups, multiple domains, and service accounts for connection credentials adds design and testing time. | Document current group-to-collection rules before the build. Prefer a small set of AD groups that map to connection groups, and confirm which accounts need stored credentials. |
| MFA choice | Choosing between Duo, TOTP or an identity provider through SAML or OpenID Connect changes enrollment, helpdesk process and test scope. Each method needs its own login and recovery test. | Pick one MFA method for the first release. Confirm whether your existing MFA provider already supports the chosen extension before the design phase. |
| Database backend choice | MariaDB or MySQL, PostgreSQL and SQL Server each need their own installation, backup, high availability and patching decisions. Your team's existing database skills determine how much new work this adds. | Reuse a database platform your operations team already runs and backs up. Ask for the backup and restore test to be included in the scope. |
| Printing and drive redirection | Printer and drive redirection depend on RDP settings, client support in the browser and the target OS. Each user group that prints or copies files needs a separate test, and gaps may need workarounds. | List the users who depend on printing or drive mapping now. Limit the first test to those groups and agree in writing which features are out of scope. |
| Session recording needs | If recordings must be kept for review or evidence, storage sizing, retention, access controls and the recording player extension all need design and testing. | Confirm retention and who may view recordings before the build. Start with recording only for privileged or contractor sessions if policy allows. |
| Testing scope | Functional, security and failover tests scale with the number of user groups, MFA paths, hosts and features that must work. Security testing of the exposed web front end adds scope if you publish it to the internet. | Agree in writing a fixed list of test cases tied to the collections in use. Ask whether security testing and retesting are included or priced separately. |
What usually goes wrong when RD Gateway is replaced
Most failed RD Gateway replacements do not fail on the Guacamole software itself. They fail on MFA gaps, drifted connection lists, redirection behavior that differs by user, premature retirement of the gateway, and licensing assumptions made late in the project. Each risk below has a check to run before cutover.
MFA left off or partly enforced
Guacamole only enforces a second factor on the paths you configure, so a user who reaches the web application through a legacy address, a direct guacd listener or an admin login may skip it. Before cutover, sign in as a test user from each network segment and each client type, and confirm that the Duo or TOTP extension prompts every time. Confirm that the RD Gateway MFA policy you are replacing is also covered for administrators. Remember the CIS control on MFA for remote network access, which applies to every remote path, not just the main one.
CIS Control 6 notesConnection import drift from RDS
Connection lists exported by hand from RemoteApp feeds, collection assignments and group memberships go stale within weeks as servers are added, renamed or moved. A connection that points at a retired session host fails silently for the user who clicks it. Generate the import from the source of truth on each session collection, keep the mapping in version control, and reconcile the Guacamole connection groups against the collection membership list on a schedule until the RDS farm is decommissioned.
Printing and drive redirection failing for some users
Redirection depends on the RDP settings in each connection, the client's browser, and the group policy on the session host. Printing and drive mapping often work for a pilot group and fail for users in another department, on a different browser, or with a shared printer that the old client mapped automatically. Build a test matrix from real user roles, run each one through the connection and record which redirections succeed, and treat any failing role as a blocker for that group's cutover.
Gateway retired before parallel testing ends
Teams often switch DNS to Guacamole and turn off RD Gateway on the same day, which leaves no fallback when a session recording, a dropped connection or a licensing check fails under real load. Keep the gateway role running and reachable for a defined parallel period, route pilot users to Guacamole first, and retire the role only after the test matrix passes and the audit log shows the expected session records. Write the rollback step into the change plan before the switch.
RDS CALs misunderstood during cutover
Some teams assume that putting Guacamole in front of session hosts removes the need for RDS client access licenses. The session hosts still serve RDP sessions, so the licensing question depends on how users and devices connect to them. Ask your licensing advisor or Microsoft licensing contact to confirm the position for your setup before you retire the gateway, and keep the license server records and any reporting for the cutover period.
Questions teams ask before moving RD Gateway to Guacamole
How much effort does moving RD Gateway to Guacamole involve?
Effort depends mainly on how many session collections, connection types and authentication paths you have, not on the Guacamole software itself, which is free under the Apache License, Version 2.0. The main drivers are the number of RemoteApp feeds and collections to recreate as connection groups, whether users rely on drive redirection or printing, how many directories and MFA providers must be integrated, and how much testing your compliance team wants recorded. Ask for a written scope that lists each collection, each authentication path and each test case, so the quote can be tied to those items.
How long does a Guacamole migration typically take?
No general duration can be stated reliably from the sources available, because it varies with farm size, integration depth and how many environments need testing. In general terms, the work follows a sequence: deploy guacd and the web application with a database backend, import connections for each session collection, integrate Active Directory, add MFA, test printing and drive redirection, then retire the gateway role. Each step can be scheduled separately, and a parallel run period with the existing gateway is usually the longest part. Request a timeline in the written scope that ties each phase to a named deliverable.
What does our internal team need to provide for the migration?
Your team needs to supply the information and access that only your organization holds. Typical inputs are an inventory of session collections and the session hosts behind them, the Active Directory groups that map to each collection, the MFA provider and its existing enrollment process, and the network paths from the Guacamole host to the RDP targets. You also need a change window, a test user group and a decision on where the database backend and session recordings will be stored. Confirm these inputs in writing before work starts, because gaps here are the most common reason migrations slip.
Can our own team migrate RD Gateway to Guacamole without outside help?
Your team can do it without outside help if it has staff comfortable with Linux, Docker or native installation, database administration, Active Directory integration and RDP troubleshooting. Guacamole's manual covers both native and containerized installation, and the extensions for LDAP, MFA and SAML are documented. The hard parts are usually security hardening, verifying MFA behavior for every entry point, and producing evidence for an auditor. DeployOpen plans, implements, integrates, hardens and documents self-hosted platforms in your infrastructure under a fixed-scope agreement, so you can choose to do all, part or none of the work. Decide based on your staff's capacity and your risk appetite.
Do we still need RDS CALs after moving to Guacamole?
Yes, RDS CALs generally remain relevant when Guacamole connects to Windows session hosts, because the users are still connecting to an RD Session Host. Guacamole replaces the gateway and web access roles, not the session host, so licensing questions about per-user or per-device access need to be answered from Microsoft's licensing terms for your agreement. Confirm your current licensing position with your Microsoft licensing advisor or reseller before cutover, and review the separate licensing page in this series for details.
Which native RD Gateway and RemoteApp features do we lose?
The main losses are native client features tied to the Microsoft RDP client and RemoteApp delivery, so users work in a browser session rather than a published application window. Guacamole does not replace RemoteApp feeds, so each collection becomes a connection group. Check specific behaviors such as printing, drive redirection, clipboard handling, audio and multi-monitor support in your own test environment, because they depend on the protocol plugin and the browser. Ask for a documented feature comparison as part of the scope.
How do we confirm compliance evidence for remote access controls?
Start by mapping each remote access control to the framework you must meet. NIST SP 800-46 Rev. 2 advises securing all components of remote access technologies against threats identified through threat modeling. CIS Controls v8.1 Safeguard 6.4 calls for multi-factor authentication for remote network access, and NIST SP 800-171 requirement 3.1.12 calls for monitoring and controlling remote access sessions. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or certifications, so your independent assessor makes the final determination. Ask for the evidence list, including MFA configuration, audit logs and session recording settings, in the written scope.
How the browser, Guacamole, guacd and session hosts connect during migration
The flow starts with a user's browser opening an HTTPS session to the Guacamole web application in the DMZ. Guacamole checks identity against the directory and the second factor before it hands the Guacamole protocol to guacd, which opens RDP to the session hosts on the internal network. The retired RD Gateway path is drawn with a dashed edge so the cutover is visible. Check that the RDP port rule runs only from guacd to the session hosts, and that the old gateway path is blocked once users move over.
Browser to Guacamole, guacd and session hosts, with the retired gateway path marked.
How DeployOpen works on this
DeployOpen plans and implements self-hosted open-source platforms inside your own infrastructure, including the Guacamole gateway that would sit in front of your RDS session hosts. The work is scoped in writing before it starts, so the connection inventory, authentication design and cutover plan are agreed before any production change.
How we scope
- Inventory every RD Gateway and RD Web Access publishing rule, collection and RemoteApp feed before any build starts.
- Agree in writing which protocols, session hosts, MFA methods and directory sources are in scope.
- Confirm which RDS features are out of scope, such as native client redirection, and record that decision in the scope document.
How we build
- Deploy guacd and the Guacamole web application with a supported database backend in your own environment.
- Import connection groups per session collection and integrate Active Directory, then add MFA through the Duo or TOTP extension.
- Test printing, drive redirection and clipboard behavior against each session host, then review gateway logs and session recording settings.
How we hand over
- Deliver configuration documentation, connection inventory, runbooks and the test results agreed in the scope.
- Walk your administrators through user onboarding, connection changes and the criteria used to retire the gateway role.
- Provide a retirement checklist for RD Gateway and RD Web Access, including the firewall rules and DNS records to remove.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- Plan Guacamole version upgrades, such as moving between releases, with a test environment and rollback steps.
- Ask any provider to confirm in writing how licensing for RDS CALs and the Guacamole upgrade path are handled before cutover.

