About 3 years ago, I had a post to show how to use Portainer to deploy Guacamole
The docker and github project (oznu/docker-guacamole) was not been updated since then. There is one person forked original oznu/docker-guacamole and still keep updating it, that is MaxWaldorf/guacamole.
Pre-requirements
- - Free VPS from Oracle Cloud : https://youtu.be/E9dHA3NBbN8
- - Docker and Portainer installed - https://youtu.be/_gKl_wtY_Gg, https://youtu.be/puMzo6O7dF0
- - Nginx Proxy Manager (NPM) installed - https://youtu.be/_gKl_wtY_Gg
- - Own Domain (optional) - free domain : https://youtu.be/V1xnhqqg4Rw, https://youtu.be/zrhxb8swVGM
Deployment Using Docker Run Command
Usage (works for x86_64 and arm64v8, no support for 32 bits)
docker run \
-p 8080:8080 \
-v /root/data/docker_data/guacamole:/config \
maxwaldorf/guacamole
Deployment Using Portainer
Access Guacamole web portal
http://<public ip>:8080Access Linux Machines
RDP to access xRDP desktopAccess Windows Machines
"The remote desktop server is currently unreachable. If the problem persists, please notify your system administrator, or check your system logs."
Guacamole apparently doesn't work with Windows 10 or Windows Server 2016 RDP naturally so you have to edit the registry to make it work.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
Change “SecurityLayer” value to 1 (Original value is 2)
Verify “UserAuthentication” value is 0 (Original value is 1)
Source: https://mangolassi.it/topic/17846/make-windows-10-server-2016-rdp-work-with-guacamole/2
Enabling Extensions
-e EXTENSIONS
variable. Multiple extensions can be enabled using a comma separated list without spaces.
For example:
docker run \
-p 8080:8080 \
-v </path/to/config>:/config \
-e "EXTENSIONS=auth-ldap,auth-duo"
maxwaldorf/guacamole
Extension List:
- auth-duo
- auth-header
- auth-jdbc-mysql
- auth-jdbc-postgresql
- auth-jdbc-sqlserver
- auth-json
- auth-ldap
- auth-quickconnect
- auth-sso-openid
- auth-sso-saml
- auth-sso-cas
- auth-totp
Videos
via Blogger http://blog.51sec.org/2022/08/using-portainer-to-deploy-guacamole-as.html
August 27, 2022 at 11:06PM Docker