OpenBSD Handbook

    Theme
    • Part I. Install & Configure
      • Introduction to OpenBSD
      • Installing OpenBSD
      • The X Window System
      • Networking on OpenBSD
      • System Configuration
      • OpenBSD Basics
      • Managing Software: Packages and Ports
    • Part II. Daily Operations
      • OpenBSD Desktop Environments
      • Multimedia
      • Printing
      • Linux Compatibility
      • Windows Compatibility
      • Games
    • Part III. System Administration
      • Virtualization
      • Storage and File Systems
      • Updating and Upgrading
      • Localization
      • The OpenBSD Boot Process
      • Security
    • Part IV. Networking & Daemons
      • Services
        • Database
          • MariaDB
          • PostgreSQL
          • Redis
          • memcached
        • Directory
          • YP (NIS)
          • LDAP
        • File
          • NFS
          • Samba
        • FTP Services
          • ftpd
          • ProFTPD
          • vsftpd
          • Pure-FTPd
          • TFTP
        • Mail
          • OpenSMTPD Mail Server
          • Dovecot IMAP and POP3 Server
          • Postfix
          • Exim
          • Rspamd
        • Name
          • Unbound DNS Resolver
          • NSD Authoritative DNS Server
          • BIND DNS Server
        • Networking
          • OpenBGPD
          • rad
          • DHCP on OpenBSD
          • slaacd
        • Web
          • Apache HTTP Server
          • nginx Web Server
          • OpenBSD httpd Web Server
          • relayd Reverse Proxy
        • Logging
          • syslogd
        • Monitoring
          • SNMP
        • Remote Access
          • Audit OpenSSH
          • OpenSSH Server
        • File Synchronization
          • rsync
        • Messaging
          • RabbitMQ Message Broker
        • Time
          • NTP Time Synchronization
      • PF
        • pfctl cheat sheet
        • PF Anchors
        • PF Filter Rules
        • PF Forwarding
        • PF Lists and Macros
        • PF Load Balancing
        • PF Logging
        • PF NAT
        • PF Options
        • PF Policies
        • PF Shortcuts
        • PF Tables
      • Advanced Networking
        • High Availability and State Replication
        • Multi-WAN and Policy-Based Routing
        • VPN and Cryptographic Tunneling
        • Classic and Lightweight Tunnels
        • IPv6 at Scale
        • QoS and Traffic Shaping
        • MPLS and Label Distribution
        • Network Services at Scale
        • Virtualization and Host Networking
        • Large-Scale L2 and L3 Design
        • Telemetry, Logging, and Flow Export
        • Hardening and Operational Safety
        • Reference Architectures
        • Troubleshooting Playbooks
      • Serial Communication
    • Part V. Miscellaneous
      • Virtualization Cheat Sheet
      • OpenBSD Cheatsheet
      • How-to Guides
        • Complete the First 30 Minutes After Installation
        • Check Hardware Compatibility Before Installing
        • Bootstrap Wi-Fi Firmware Without Ethernet
        • Set Up OpenBSD as a Laptop or Workstation
        • Configure Laptop Power Management
        • Run OpenBSD as a Virtual Machine Guest
        • Install OpenBSD on a VPS or Cloud Server
        • Install OpenBSD with Full-Disk Encryption
        • Troubleshoot Web Browsers on OpenBSD
        • Create an Administrator Account with doas and SSH Keys
        • Establish a Conservative Security Baseline
        • Manage OpenBSD with Ansible
        • Recover Access and Reset the Root Password
        • Collect OpenBSD Diagnostic Evidence
        • Configure Secure Remote Access with OpenSSH
        • Set Up WordPress on OpenBSD
        • Build Third-Party Software from Ports
        • Use FIDO Security Keys with OpenSSH
        • Build OpenBSD from Source
        • Configure Wi-Fi Roaming and Wired Failover
        • Dual-Boot OpenBSD on a UEFI System
        • Troubleshoot PF, NAT, and Routing
        • Automate OpenBSD Installation with Autoinstall and PXE
        • Route Multiple VLANs with PF
        • Configure a Road-Warrior WireGuard VPN
        • Troubleshoot Package Installation and Update Failures
        • Route IPv6 Networks without NAT
        • Schedule Recurring Maintenance
        • Plan a Docker Workload Migration to OpenBSD
        • Build a Mail Server with OpenSMTPD, Dovecot, and Rspamd
        • Build a Simple Router and Firewall
        • Monitor an OpenBSD System
        • Back Up and Restore an OpenBSD System
        • Configure softraid RAID1
        • Recover an OpenBSD System That Does Not Boot
        • Install Z shell (zsh)
      • OpenBSD for Linux Users
      • OpenBSD for FreeBSD Users
      • OpenBSD for macOS Users
    • OpenBSD FAQ
    • OpenBSD Architectures
      • OpenBSD Package Search

        guacamole-1.6.0

        Package search / Categories / Current snapshot
        โ† Back to search
        OpenBSD branch
        OpenBSD 8.0 releaseCurrent snapshot

        Current snapshot ยท amd64

        clientless remote desktop gateway, web application

        Project homepage: https://guacamole.apache.org/

        Description

        Apache Guacamole is a remote desktop gateway. It allows users to connect using an HTML5 web browser and access systems using standard remote client protocols like VNC, RDP, and SSH. It comprises "guacamole-client", the front-end web application written in Java which accepts connections from end-users web browsers, and "guacamole-server" (the guacd proxy daemon and related libraries, written in C), which runs on a gateway machine, accepting connections from guacamole-client and connecting out to remote machines using their standard protocol. Both guacamole-client and guacamole-server can run on the same machine. This package provides "guacamole-client".

        Package information

        Ports path
        net/guacamole/client
        Package architecture
        amd64
        Maintainer
        Stuart Henderson <stu.ports@spacehopper.org>
        Categories
        net
        Available flavors
        None listed

        Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.

        Direct dependencies

        Runtime

        • www/tomcat/v9
        OpenBSD README
        +-------------------------------------------------------------------------------
        | Running guacamole on OpenBSD
        +-------------------------------------------------------------------------------
        
        A minimal Guacamole installation requires the following components:
        
        - a Java servlet container (usually Tomcat). This could be described as a
        specialist web server for running Java-based web services.
        
        This can be used directly to provide an externally-accessible HTTP service,
        but in some cases it may be preferable to front-end it with a "reverse proxy"
        (nginx run as a forwarder, relayd, haproxy, or others) either to provide
        extra controls or more familiar configuration.
        
        - "guacamole-client", a Java web service which accepts user connections,
        authenticates them, and passes connections to guacd. This is run by
        the servlet container.
        
        - guacd (from "guacamole-server"), a separate proxy daemon. It accepts
        Guacamole connections from the web service and makes outgoing connections
        using various remote access protocols (including RDP, VNC, ssh).
        
        Authentication is done via the web service. The default method is
        configured via a single XML file, which is suitable for many small
        deployments. Authentication via other mechanisms is available by
        extensions which are packaged separately.
        
        Simple configuration of Guacamole
        ---------------------------------
        You can link the web application into Tomcat's service directory:
        
        # ln -s /usr/local/share/guacamole/guacamole.war /var/tomcat/webapps/
        
        Edit the sample user authentication file:
        
        # vi /etc/guacamole/user-mapping.xml
        
        Enable and (re)start guacd and Tomcat:
        
        # rcctl enable guacd tomcat
        # rcctl restart guacd tomcat
        
        Connect a browser to http://localhost:8080/guacamole and login, you should
        see a list of desktop endpoints from the user-mapping file and be able to
        connect to them.
        
        Check Tomcat logs (usually /var/tomcat/logs/catalina.out) if you have problems.
        
        Enabling extensions
        -------------------
        Various extensions are available, mostly providing different methods to
        hold authentication information and configuration of which machines a user
        may connect to:
        
        guacamole-auth-duo		Duo two-factor authentication
        guacamole-auth-header		HTTP header authentication
        guacamole-auth-jdbc		JDBC (SQL) authentication
        guacamole-auth-json		Encrypted JSON authentication
        guacamole-auth-ldap		LDAP authentication
        guacamole-auth-sso		OpenID/SAML/CAS authentication
        guacamole-auth-totp		TOTP two-factor authentication
        
        Also, other non-authentication plugins:
        
        guacamole-auth-quickconnect	Ad-hoc connections (direct URI entry)
        guacamole-history		History recording storage
        
        At startup, guacamole-client searches /etc/guacamole/extensions and loads
        any extensions discovered there. In common with standard practice for
        other OpenBSD packages, extensions are not enabled automatically when
        installed; you must take another step to do this.
        
        For the JDBC extensions, as well as the extension itself, the relevant
        JDBC connector for the database is required as you are using; versions
        which should be suitable are available in /usr/local/share/guacamole/lib.
        
        You can either symlink the entire installed extensions directory (and lib,
        if present; not used by all extensions) from the package into place:
        
        # ln -s /usr/local/share/guacamole/extensions /etc/guacamole/
        # ln -s /usr/local/share/guacamole/lib /etc/guacamole/
        
        Alternatively, take a targetted approach and symlink only the files
        you need:
        
        # mkdir /etc/guacamole/{extensions,lib}
        # ln -s /usr/local/share/guacamole/extensions/guacamole-auth-quickconnect.jar \
             /etc/guacamole/extensions/
        # ln -s /usr/local/share/guacamole/lib/mssql-jdbc.jar /etc/guacamole/extensions/
        
        Add any required configuration for the extension, and restart Tomcat to
        pick up the changes:
        
        # vi /etc/guacamole/guacamole.properties
        # rcctl restart tomcat
        
        If an extension is packaged with documentation or database schemas that
        should be used, you'll find them in /usr/local/share/doc/guacamole-auth-*.
        Otherwise check the online documentation for Guacamole for more information
        (https://guacamole.apache.org/doc/gug/jdbc-auth.html etc).
        

        Package guides

        • Installing and updating packages

        Package details as JSON

        Report a bug