Apache Guacamole - How to enable totp? #1425
-
Glad to see guacamole added, but it seems that it's missing the option to enable totp or duo. I was previously able to enable it in the docker config, but not sure how to enable totp in this case. thank you. https://guacamole.apache.org/doc/gug/totp-auth.html#installing-totp-authentication |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I am a complete novice, but this is what I did to get TOTP to work with guacamole. I logged in to the LXC console and downloaded the TOTP extension Extracted the tar file Moved the TOTP jar extension to the correct directory Removed the downloaded tar.gz and the extracted files/folders that were not used Rebooted the lxc and boom! Everything seems to work. https://guacamole.apache.org/doc/gug/totp-auth.html#installing-totp-authentication The other thing I did was to have https://myip:8080 redirect to https://myip:8080/guacamole/ instead of viewing the tomcat page. First i saved the original index.jsp as oldindexjsp Replaced the contents of index.jsp with the redirect to /guacamole Again I am a complete novice, if there is anything that is not the correct method to install TOTP or in the tomcat redirect please let me know. I hope this helps. |
Beta Was this translation helpful? Give feedback.
I am a complete novice, but this is what I did to get TOTP to work with guacamole.
I logged in to the LXC console and downloaded the TOTP extension
wget https://dlcdn.apache.org/guacamole/1.5.5/binary/guacamole-auth-totp-1.5.5.tar.gz
Extracted the tar file
tar -xvf guacamole-auth-totp-1.5.5.tar.gz
Moved the TOTP jar extension to the correct directory
mv guacamole-auth-totp-1.5.5/guacamole-auth-totp-1.5.5.jar /etc/guacamole/extensions/
Removed the downloaded tar.gz and the extracted files/folders that were not used
rm guacamole-auth-totp-1.5.5.tar.gz
rm -r guacamole-auth-totp-1.5.5/
Rebooted the lxc and boom! Everything seems to work.
https://guacamole.apache.org/doc/gug/totp-auth.html#in…