Apache SSL Reverse Proxy to Guacamole Server

This tutorial assumes a freshly installed Ubuntu 14.04 server with Apache2.

Enable Apache2 Mods & SSL Site

  • a2enmod proxy proxy_http ssl
  • a2ensite default-ssl.conf

Add Proxy Settings to default-ssl.conf

  • nano /etc/apache2/sites-available/default-ssl.conf
            • Add to <VirtualHost> in default-ssl.conf
                  • <VirtualHost>
                  • ...
                  • # /guacamole settings
                  • <Location /guacamole>
                  • Order allow,deny
                  • Allow from all
                  • ProxyPass http://[ip address]:8080/guacamole flushpackets=on
                  • ProxyPassReverse http://[ip address]:8080/guacamole
                  • </Location>
                  • </VirtualHost>
  • service apache2 restart

Testing

  • Navigate to https://[apache server]/guacamole