About Apache Guacamole
Apache Guacamole is a clientless remote desktop gateway that allows you to access computers from anywhere using just a web browser. Unlike traditional remote desktop tools that require you to install a viewer on your local machine, Guacamole runs on a server and translates remote protocols into HTML5. This means you can access your machines from any device—laptop, tablet, or phone—without needing plugins or client software.
It acts as a centralized bridge for standard protocols like VNC, RDP, and SSH. Because the Guacamole server sits in the middle, it provides a layer of security and convenience; you can keep your target machines isolated on a private network while exposing only the Guacamole web interface to the outside world. This makes it an excellent tool for managing cloud servers or home labs securely without setting up complex VPNs for every client device.
I also like that you can add users and groups and provide access controls. You can also create a quick public share link and then destroy it when you are done using it. Guacamole also integrates with OpenID Connect services so I can add it to my Authentik instance for single sign-on.
Dashboard

The dashboard allows you to quickly access your last session and find any connection that you want to use.

The active sessions view shows all currently connected users and what they're accessing. This is particularly useful for administrators who need to monitor usage.
Drive Mapping
Another great feature is the ability to map a drive from the Guacamole server and have the ability to upload and download files from your machine. You can map the same drive across different connections or you can create one drive and share it across several connections. It is useful if you have tools that you use on more than one machine. To access it from your host machine you press Control + Alt + Shift. You can also upload files just by dragging them into the Guacamole window.

To access the files on your remote machine, you just open the GUACFS drive from the local file explorer.

Typescript Recording
For SSH and telnet connections, Guacamole offers typescript recording. This feature captures all terminal input and output as a text-based session log that can be replayed later. This setting is only used for CLI sessions like SSH or Telnet.

When enabled, every command you type and every response from the server gets recorded. This is incredibly useful for documentation, auditing, and training purposes. You can review exactly what commands were executed during a session without having to remember to manually log everything.

The typescript recordings can be configured to include timestamps and can be stored in a designated directory on the Guacamole server for later review. My recordings are stored in a directory beside the directory that stores the video recordings. This allows me to quickly find either recording type.
Session History

Guacamole maintains a detailed history of all connections, showing who connected to what and when. Combined with the recording features, this provides a complete audit trail for compliance and documentation purposes.
Video Recording with Keylogging
For graphical sessions like RDP and VNC, Guacamole provides video recording capabilities. This records the entire session as a video file that can be played back to review exactly what happened on screen.

The recording settings allow you to specify where recordings are stored and what format to use. It also allows you to record video and a transcript. I found this useful if I need to show what command I executed and then take a screenshot of the results, for example during XSS.


The recordings can be converted and played back using Guacamole's built-in tools or played directly in the Guacamole webUI by clicking play next to the session on the history tab. I found this very useful when you need to document an assessment or put together a training video. You can set it up to automatically record and not have to worry about using another software like OBS. It is also great to go back through the video and retrieve screenshots instead of taking one every couple minutes when working on an assessment.
More Features
Guacamole offers several additional settings that fine-tune the user experience. The Initial Program setting allows you to specify an application that launches automatically when a session starts—useful if you always open the same tool when connecting to a particular machine, like launching a terminal or specific analysis software on Flare VM.
Guacamole also includes built-in SFTP support for SSH connections. When configured, you can browse the remote filesystem and transfer files directly through the Guacamole interface without needing a separate SFTP client. This complements the drive mapping feature for RDP sessions, giving you file transfer capabilities regardless of which protocol you're using.
Accessing Flare VM via VNC
Using Guacamole and Proxmox's VNC socket I can access a Flare VM that has no network adapters. Flare VM is a Windows-based security distribution designed for malware analysis and reverse engineering.
My Flare VM runs on Proxmox, and I intentionally removed all network adapters from it to ensure complete isolation.

Without any network interfaces, the VM has no IP address and cannot communicate with anything on the network. This means that I can't use RDP or VNC to Flare's IP.

Proxmox provides a VNC console for each VM that doesn't rely on the guest's network stack. Instead, it uses a Unix socket on the Proxmox host itself. By editing the VM's configuration file, I can expose this VNC connection in a way that Guacamole can access.

On the Proxmox host, I edited the VM configuration file located at /etc/pve/qemu-server/<vmid>.conf and added the following line:
args: -vnc 127.0.0.1 75This tells QEMU to create a VNC socket at that path. I can use SSH port forwarding to access port 5975 (5900 for VNC + the 75 declared in the config file) to connect to the Flare VM.

Now I have full graphical access to a VM with no network stack using Guacamole. Discovering this made it so much easier for me to spin up, mess up, and destroy malware analysis VMs from anywhere.
Conclusion
Apache Guacamole has become an essential part of my homelab infrastructure. Its ability to centralize remote access, combined with features like drive mapping, session recording, and the flexibility to connect to unconventional setups like Unix VNC sockets, makes it incredibly versatile.