Open-source alternative to Citrix Gateway for remote app access

Apache Guacamole can replace Citrix Gateway for browser-based access to Windows and Linux systems over RDP, VNC and SSH, but only with a deliberately designed reverse proxy and MFA layer. This page maps what it covers and what it does not.

On this page

Open-source alternative to Citrix Gateway for remote app access: the short answer

Apache Guacamole can replace the browser-based remote access role that Citrix Gateway plays for RDP, VNC and SSH sessions, but it does not replace the full Citrix Virtual Apps and Desktops delivery stack. If your external users reach published desktops and apps through Citrix Gateway, and you are facing a renewal, a licensing change, a data residency rule or a lock-in concern, the first question is which part of that path you actually need to keep. The gateway role is mostly about secure entry, authentication and brokering the user to a session. Guacamole, served over HTTPS behind a reverse proxy and wrapped in an MFA design, covers much of that role for admin and contractor access, where users connect to a known set of hosts through a browser. It does not cover HDX-based published applications, graphics-heavy desktops, or the broker, profile and policy features behind them.

Start by listing every Citrix Gateway user group and sorting them by what they connect to. For each group, record the protocol (RDP, VNC or SSH), the target hosts, the identity source and whether the session needs a Citrix client or HDX features. Groups that only reach a few Windows or Linux hosts are the strongest candidates. Then design the entry path: a reverse proxy that terminates TLS, an identity provider using SAML or OpenID Connect, and MFA enforced at the proxy or in Guacamole through its Duo or TOTP extensions. The control framework behind this decision is CIS Controls v8.1 Safeguard 6.4, which requires MFA for remote network access, and NIST SP 800-171 requirement 3.1.12, which requires monitoring and controlling remote sessions. Confirm with your assessor how each requirement will be evidenced before you cut over.

The gaps need a clear plan before you commit. Session recording, playback and retention are available through a Guacamole extension, but storage, access to recordings and retention periods are your decisions and must be built. Graphics quality, multimedia redirection and offline access will not match a Citrix HDX session. Use the Citrix Virtual Apps and Desktops vs Apache Guacamole comparison only as a starting point and check each gap against your own workloads. The capability map later on this page lists each Citrix component and its open-source counterpart, so use it to decide which groups move first and which stay on Citrix.

Which Citrix Gateway capabilities Guacamole covers and which need other components

This table maps the main functions of Citrix Gateway to Apache Guacamole, the reverse proxy in front of it, and the extensions that add identity and multi-factor controls. The coverage column shows what Guacamole provides on its own, and the last column lists what your team must design or verify. Most gaps sit in HDX-specific delivery, so pilot your real workloads before retiring the Gateway.

Citrix Gateway functionCoverage with GuacamoleComponents and what to confirm
Secure external entryPartialPublish Guacamole over HTTPS through a reverse proxy. Confirm firewall rules and that RDP, VNC and SSH are never exposed directly.
TLS terminationCoveredTerminate TLS at Nginx or Apache httpd. Confirm certificate lifecycle, cipher policy and HSTS settings with your security team.
Pre-authentication and session policyPartialLogin occurs in the Guacamole web application. Add proxy checks, such as allowed networks, and confirm which paths are reachable before sign-in.
Multi-factor authenticationCoveredDuo and TOTP extensions are available. Confirm the factor policy, enrollment process and recovery path for lost devices.
Single sign-onCoveredLDAP, SAML, OpenID Connect and CAS extensions are available. Confirm identity provider settings, group mapping and session lifetime.
Smart card authenticationPartialA smart card SSO extension exists. Confirm reader drivers, certificate chain validation and whether the target desktop prompts for a card again.
Session recordingPartialA recording player extension is available for RDP, VNC and SSH. Confirm capture settings, storage location, retention period and who can view recordings.
Load balancing and high availabilityPartialRun several Guacamole instances behind a load balancer. Confirm session affinity, the shared database tier and how guacd hosts scale.
HDX, graphics-heavy and Workspace app client featuresNot coveredCitrix HDX delivery, local device redirection and graphics-intensive workloads have no direct equivalent. Benchmark CAD, video and client features in a pilot.

Which open-source options fit as the external access layer

Replacing Citrix Gateway means deciding what sits between external users and your internal sessions. Apache Guacamole handles the session brokering to RDP, VNC and SSH targets, while a reverse proxy and a zero trust or MFA layer handle who reaches it and how. The options below are not interchangeable, so each card states what it covers and what it leaves to you.

Apache Guacamole as the session gateway

Guacamole is an Apache-2.0 clientless remote desktop gateway. Users reach RDP, VNC and SSH targets from an HTML5 browser over HTTPS, so no Citrix Receiver or client agent is needed on the user device. It does not replace the Windows session hosts or VMs behind it, and it does not provide the HDX display protocol or app publishing that Citrix uses for graphics-heavy work. Confirm the protocol set and extension list against the version you deploy, since the manual is the reference for what is supported.

Apache Guacamole site

Reverse proxy in front of Guacamole

Place Nginx or Apache httpd (common examples) in front of the Guacamole web application to terminate TLS, enforce rate limits, restrict source addresses and keep the application server off the public internet. The proxy is a separate component you patch, certify and monitor. Confirm that the proxy and Guacamole agree on which headers carry the client address, because session logs and access rules depend on it.

Pomerium as an identity-aware entry proxy

Pomerium is a zero trust access proxy that authenticates each request against an identity provider before forwarding it to an internal web application, which can include the Guacamole web interface. It fits teams that want per-route policy and device checks at the entry point. It does not provide RDP, VNC or SSH sessions itself, so Guacamole still handles those protocols. Check its current licensing and feature set before you depend on a specific capability.

OpenZiti for overlay access

OpenZiti is an overlay network that lets specific applications accept connections without opening inbound ports on the internal network. It suits contractors or partner sites that need a private path to the Guacamole host without exposing it to the internet. It adds a dedicated component set you must operate, including controllers and routers, and it does not manage browser sessions or recording. Confirm the deployment model against your network and identity requirements.

NetBird for mesh access to the gateway

NetBird builds a WireGuard-based mesh so enrolled devices reach the Guacamole host and its targets over a private network. It fits administrators and internal staff who already use managed devices. It does not serve anonymous or unmanaged browsers, so external users who cannot install the agent need the proxy path instead. Confirm device enrollment, SSO integration and access policy behavior in your environment.

MFA and session controls at the entry

NIST SP 800-171 requirement 3.1.12 and CIS Controls v8.1 Safeguard 6.4 both expect multi-factor authentication for remote access and monitored sessions. In Guacamole, Duo and TOTP extensions provide the second factor, and the session recording player supports review. Define which factors apply to which user groups, where authentication logs go and how long recordings are kept. Ask your assessor which evidence they expect before you finalize the design.

How the access design changes for admins, contractors and staff

Administrators open RDP, VNC or SSH sessions to servers from a browser. The request passes through the reverse proxy to the Guacamole web application, which sends the Guacamole protocol to guacd. guacd loads the matching protocol plugin and opens the connection to the target. This path replaces the external entry point that Citrix Gateway provides and, for admin sessions, the StoreFront launch step where it was used.

  • Connection path: browser over HTTPS, reverse proxy, Guacamole web application, guacd, then the target server. Allow inbound connections to target systems only from the guacd host.
  • Authentication factors: a directory password through LDAP, or SAML or OpenID Connect, plus a second factor from the Duo or TOTP extension. Admin accounts should carry at least the same factors as any other privileged login.
  • Recording: record every administrative session with the session recording extension, store recordings on access-controlled storage separate from the gateway, and set a retention period. This supports the session monitoring described in NIST SP 800-171 Rev. 2 requirement 3.1.12.
  • Credential handling: confirm how connection credentials are stored, who can read them, and whether administrators can see target passwords. Guacamole is not a privileged access vault, so decide whether one is also needed.
  • Scope: group admin connections by system tier so an administrator sees only the servers their role requires.

Before cutover, confirm that no fallback login path bypasses the second factor and that administrators cannot change their own recording settings.

How a browser session flows from the reverse proxy and MFA layer to the target system

The session starts in the user's browser on the internet side, where it reaches a reverse proxy that terminates TLS and enforces pre-authentication. The proxy passes the user to an identity provider for MFA over SAML or OpenID Connect, then to the Guacamole web application, which runs its authentication layer against a database backend. Guacamole hands each connection to the guacd daemon, which loads the RDP, VNC or SSH plugin and opens the session to the target host. Check each hand-off, and confirm where guacd writes any session recordings, since that location determines who can read them.

Trust zones and hand-offs for a Guacamole session, with the recording write point.

What the reverse proxy and MFA design must cover before go-live

The external path is defensible only when every session passes multi-factor authentication before guacd opens a connection to a target, and when each session is logged and can be monitored and ended. Within Apache Guacamole, the Duo and TOTP extensions supply the second factor at web login. If you front Guacamole with SAML or OpenID Connect to an identity provider instead, confirm that the provider enforces MFA for every user and every client path, not as an optional policy that a group can skip. For the control itself, CIS Controls v8.1 Safeguard 6.4 covers MFA for remote network access in Implementation Group 1, and CIS maps it to PCI DSS v4.0 requirement 8.4.3. Read the mapping text in your own framework copy before you cite it. For NIST SP 800-171 requirement 3.1.12, confirm that the session recording extension and the audit records in the Guacamole database meet your wording on monitoring and controlling remote sessions.

Start with a threat model, as NIST SP 800-46 Rev. 2 asks for every telework and remote access component. List the reverse proxy, the Guacamole web application, its servlet container, guacd, the authentication database and the target hosts, then harden each against the threats you named. At the proxy, set TLS versions and cipher suites to your current baseline, rate-limit login and MFA endpoints, and make the proxy the only path to Guacamole. Header trust needs particular care. If you use the HTTP header authentication extension, the proxy must strip any identity headers a client sends and set its own, or an attacker can impersonate a user. Set idle and absolute session timeouts in both Guacamole and the proxy, and test that an expired session cannot reopen a connection. Confirm the values against your access policy and your assessor's expectations.

Inventory every remote access tool that can reach the target hosts, including portable remote monitoring and management binaries on administrator workstations. CISA advisory AA23-025A recommends this audit and the use of application allowlisting to block installation and execution of portable, unauthorized RMM software. Once the inventory is complete, make Guacamole the only sanctioned route into RDP, VNC and SSH targets: allow those ports only from the guacd host's address and block direct access from outside networks. Record the owner, approved purpose and review date for each tool. Before go-live, have a tester attempt the bypasses that matter for your design, including direct connections to target ports, forged identity headers and login without the second factor, and keep the results with your control evidence. Confirm each control wording with your framework text and your auditor.

Running Guacamole alongside Citrix Gateway during the transition

Most teams cannot switch every external user at once, so Citrix Gateway and Guacamole will run in parallel for a period. The cards below treat routing, identity, DNS, certificates and inventory as linked decisions, because a gap in any one of them leaves a second uncontrolled entry point open to the internet.

Split user groups by entry point

Decide which populations move first, such as administrators, contractors or vendors who need RDP, VNC or SSH, and which stay on Citrix Gateway for published apps still in daily use. Each group should map to exactly one entry point, documented in the same runbook. Confirm that no group can reach both paths by default, since a user with access to both will pick whichever works and your audit trail splits across two systems.

Share one identity provider

Point Guacamole's LDAP, OpenID Connect or SAML extension and the Citrix Gateway authentication policy at the same identity provider, so group membership and MFA enrollment match on both paths. Check that a disabled account is revoked in the directory once and takes effect on both entry points. Confirm which MFA factor each path enforces, because CIS Controls v8.1 Safeguard 6.4 expects MFA on remote network access regardless of the gateway used.

Lock down the second entry point

Every new Guacamole listener is an internet-facing service, so restrict it to the reverse proxy and the networks that need it, and block direct access to guacd and the Guacamole web application. Review firewall rules for both gateways together during the transition. Treat any path that bypasses the proxy, including a forgotten NAT rule or a test hostname, as an open entry point to be closed before cutover.

Plan DNS and certificate changes

Give Guacamole its own hostname instead of reusing the Citrix Gateway name, so users and bookmarks can be moved in stages. Lower DNS record TTLs before any change, and issue certificates for the new names well before the first user is redirected. Confirm that the certificate chain is trusted on managed and unmanaged devices, and that expiry dates for both gateways are tracked in the same calendar.

Keep a path-of-access inventory

Maintain a register that lists each user or group, the entry point they use, the applications or hosts they reach, and the date they moved. Build it from Citrix Gateway session logs and Guacamole authentication logs, not from memory. Use the register to answer audit questions about who connected through which path, and to confirm that the Citrix path is being retired as planned.

Monitor sessions on both paths

NIST SP 800-171 requirement 3.1.12 calls for monitoring and controlling remote access sessions, and that duty applies to each gateway during coexistence. Forward logs from both platforms to the same collector, define one alerting rule set, and confirm that session start, end and failed authentication events are captured on each. Gaps in either stream should be found in testing, not during an assessment.

How to move external users from Gateway to Guacamole in phases

This sequence moves external users off Citrix Gateway one group at a time, so each change is tested, recorded and reversible before Gateway virtual servers are retired.

  1. Inventory external users and published resources

    The Citrix administrator and the access owner list every external user population, the applications and desktops each group reaches through Gateway, the authentication method and MFA used, and the session policies applied. Pull Gateway virtual server configuration and access logs for a representative period so unused published resources show up as candidates for retirement rather than migration. The step is done when every external group has an owner, a list of resources and a documented sign-in path.

  2. Map each resource to a Guacamole connection

    For each published resource, decide whether it becomes an RDP, VNC or SSH connection in Guacamole, or whether it stays on a Citrix or Remote Desktop Services host that Guacamole reaches as an RDP target. Create Guacamole connection groups that mirror the access boundaries your security team already enforces, and map each group to an identity source such as LDAP or an OpenID Connect or SAML provider. Note any resource that Guacamole does not cover well, such as graphics-heavy applications, so it stays on Gateway until a decision is made. The step closes with a signed mapping table that names the connection, the group and the owner.

  3. Stand up the reverse proxy and identity integration in a test zone

    Deploy Guacamole in a test network segment with the database backend your team operates, then place a reverse proxy in front of it to terminate HTTPS with managed certificates. Configure the chosen extensions for LDAP or SAML sign-in, plus Duo or TOTP for multi-factor authentication, and confirm that session timeouts and access restrictions match the Gateway policies they replace. Test failure paths too, including identity provider outage and MFA enrollment, and record what happens. The step is done when a test user can sign in from an external network path, reach a mapped connection and be denied outside their group.

  4. Pilot with one low-risk user group

    Choose a small external group with limited resource access, such as a vendor support team or a contractor group with a single host, and move only that group to Guacamole while keeping their Gateway account available for rollback. Confirm the business owner accepts the change, brief the users on the new sign-in address and MFA steps, and track help desk tickets and failed sign-ins daily during the pilot. The pilot closes when the owner signs off, the rollback procedure has been tested once and no unresolved access defects remain.

  5. Enable session recording before wider migration

    Turn on session recording for the migrated connections using the recording extension, and set where recordings are stored, who can play them back and how long they are retained according to your policy. This matters because NIST SP 800-171 requirement 3.1.12 calls for monitoring and controlling remote access sessions, so recordings and access logs should exist for every group before more users move. Test one recording end to end, including playback by an authorized reviewer. The step is done when a recorded pilot session is retrievable, its access is restricted and the retention rule is documented.

  6. Migrate the remaining groups in waves

    Move the other external groups in waves ordered by risk, starting with those that depend on the fewest resources and ending with administrative or privileged access. For each wave, repeat the mapping, identity test, user briefing and recording check, and keep the Gateway path available until that wave is confirmed. Run a joint review with the security and compliance teams after each wave to confirm the controls match your access policy. The step is done when every group in the inventory is either live on Guacamole or formally scheduled to stay on Gateway with a documented reason.

  7. Retire Gateway virtual servers after log review

    Before disabling any Gateway virtual server, review its access logs over the period your change policy requires and confirm that no sessions, sign-ins or service accounts still use it. Remove the Gateway configuration only after the reviewers sign off, keep a configuration export and the final logs in your records system, and update firewall rules, DNS entries and documentation that pointed to the old address. The step is done when logs show no traffic for the agreed window, the configuration backup is verified and the retirement is recorded in the change log.

What do teams ask before replacing Citrix Gateway with Guacamole?

Does Apache Guacamole fully replace Citrix Gateway?

No. Guacamole covers browser-based access to RDP, VNC and SSH sessions over HTTPS, which is often enough for admin, contractor and support access to Windows and Linux systems. It does not replicate the full Citrix Gateway feature set, such as Citrix HDX delivery, published app brokering through StoreFront, or graphics-heavy desktop sessions. Map each published app and user group to a protocol Guacamole supports, then list the gaps that remain before you commit to a design. Confirm each gap against your own user workloads, not only against the product documentation.

What drives the cost and effort of replacing Citrix Gateway?

The main drivers are the number of target systems, how many identity sources must be integrated, how the reverse proxy and TLS design is hardened, how MFA is designed for external users, and where session recordings are stored and how long they are kept. Each of these adds one-time design and test work, plus recurring operations such as patching, certificate renewal, and reviewing access logs. Ask any quote to break out these components separately so you can see which ones your environment makes expensive.

What does an implementation partner usually scope for a Guacamole gateway?

A typical written scope covers an inventory of the published apps and target hosts, a target architecture for the Guacamole web application, guacd and the database backend, the identity integration, the reverse proxy and MFA design, logging and session recording, backup, and a cutover plan that runs alongside the existing gateway. It should also state what is out of scope, such as Windows licensing or application changes. Fixed-scope engagements list deliverables and timelines in writing before work starts. DeployOpen plans, implements, hardens, documents and supports these components inside the client's own infrastructure, and does not issue audit reports or certifications.

Can our own team deploy and run Guacamole without a partner?

Many teams can, provided they have people who already operate Linux servers, containers or Java services, manage a relational database such as MariaDB, MySQL, PostgreSQL or SQL Server, and run a reverse proxy with TLS. They also need someone who understands the identity provider and MFA stack, and someone who can perform security testing of the external path. The Guacamole manual documents native and Docker installation, so the deployment itself is well documented. The harder part is the ongoing design of access rules, logging and hardening, so assess honestly whether your team has time for that work each month.

What do the security and network teams need to provide?

Network teams need to define the publishing path, firewall rules between the reverse proxy, the Guacamole host and the internal target systems, and any segmentation for admin protocols. Security teams need to set the MFA requirement for remote network access, approve the identity mapping, and review the logging and retention design. NIST SP 800-46 Rev. 2 recommends that every component of a remote access technology is secured against threats identified in a threat model, so the threat model should cover the gateway itself as well as the sessions it carries. Agree these responsibilities in the scope before the build starts.

How does moving from Citrix Gateway affect compliance evidence?

Compliance evidence changes because the controls move from Citrix products to components you run yourself. You will need to show MFA for remote network access, which CIS Controls v8.1 Safeguard 6.4 addresses, and session monitoring, which NIST SP 800-171 requirement 3.1.12 addresses under CMMC Level 2 practice AC.L2-3.1.12. Guacamole's session recording player extension can support that evidence if recordings are stored and retained under a defined policy. DeployOpen prepares systems, controls and evidence for assessments, but independent auditors and certification bodies issue the actual assessment outcomes. Ask your assessor which artifacts they expect before you finalize the design.

Which engineering skills and checks matter most when the gateway is exposed to external users?

Focus on the reverse proxy configuration, TLS settings, MFA enforcement on every path to the login page, and whether the Guacamole web application is reachable only through the proxy. Check that the guacd daemon is not reachable from outside, that the database backend is restricted to the Guacamole host, and that the connection credentials stored for target systems are protected. Test the external path with a security assessment before go-live, and retest after each upgrade. The Apache Guacamole project's manual is the starting point for configuration keys and extension settings, and each setting should be confirmed in your own environment.

Where to confirm capabilities and licensing for your own build

Before you commit to Apache Guacamole as the gateway for external users, confirm its capabilities against the source that governs them. Start with the Guacamole manual for authentication extensions, database backends, Docker installation and the session recording player, and read the architecture chapter to confirm how the web application and guacd divide the work. Extension behavior changes between releases, so check every extension you plan to use (LDAP, SAML, OpenID Connect, Duo, TOTP) against the manual for the exact Guacamole version you will deploy, not against older blog posts or this page. Apache Guacamole 1.6.0, released on June 22, 2025, is the version named in the researched facts, but your build should pin whatever version you test.

For licensing, the apache/guacamole-server repository carries the Apache-2.0 license metadata for guacd and the protocol plugins, and the Apache Guacamole website publishes the web application's license terms. Ask your legal or procurement team to review every third-party component you add around Guacamole, including the reverse proxy, the identity provider, the MFA service and any container images, because each carries its own terms. Keep a record of the versions and license files you reviewed so the evidence matches what you run.

For control expectations, use the primary sources rather than summaries. NIST SP 800-46 Rev. 2 asks that all components of a remote access technology be secured against threats identified in a threat model, which is the right frame for the gateway, reverse proxy and MFA design. NIST SP 800-171 Rev. 2 describes the session monitoring expectation behind control 3.1.12, and the CIS Controls Assessment Specification explains the MFA expectation for remote network access under Control 6. Confirm with your assessor which of these frameworks apply to you.

Finally, test before you rely on any of it. In a staging environment that mirrors your production identity provider and reverse proxy, run MFA enrollment, lockout and fallback scenarios, confirm that session recordings are created, stored, retained and played back as your policy requires, and verify that a disabled account cannot open a session. Record the results and retest after each upgrade. These checks are your responsibility, and they are what your auditors will ask to see.

How DeployOpen works on this

DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure. For Citrix Gateway replacement, that means scoping which external users and remote sessions move to Apache Guacamole, building the gateway, reverse proxy and MFA design around it, and handing over evidence your security and compliance teams can review.

How we scope

  • Inventory which external users, published apps and admin sessions currently pass through Citrix Gateway and which protocols they use.
  • Agree in writing which RDP, VNC and SSH targets, identity sources and MFA methods the Guacamole deployment must cover.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work starts.

How we build

  • Deploy Guacamole in your own cloud account, data center or air-gapped network, using native or containerized installation as your environment requires.
  • Integrate LDAP or Active Directory, SAML, OpenID Connect, Duo or TOTP, and configure the reverse proxy with HTTPS and access controls.
  • Configure session recording and audit logging, then test the setup against the access rules your security team has defined.

How we hand over

  • Deliver written documentation of architecture, connection and group mappings, MFA design, certificate handling and backup procedures.
  • Provide evidence of controls, including MFA enforcement and session monitoring settings, for your internal and external assessment teams.
  • Run knowledge transfer with your administrators so they can operate, change and review the deployment after handover.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, covering Guacamole and the components around it.
  • Security testing of the remote access path can be scoped separately, covering the web tier, authentication flows and session handling.
  • Ask any provider to confirm how upgrades, backups and patch windows will be handled in your environment before signing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.