Guacamole install with TOTP
INSTALL
wget https://git.io/fxZq5 -O guac-install.sh
sudo chmod +x guac-install.sh
sudo ./guac-install.sh
UPGRADE
wget https://git.io/fxZq5 -O guac-upgrade.sh
sudo chmod +x guac-upgrade.sh
sudo ./guac-upgrade.sh
http://localhost:8080/guacamole/
NGINX
sudo apt-get install nginx -y
sudo nano /etc/nginx/sites-available/guacamole.conf
Add the following lines:
server {
listen 80;
server_name 10.5.1.231 guacamole.realety.me;
access_log /var/log/nginx/guac_access.log;
error_log /var/log/nginx/guac_error.log;
llocation / {
proxy_pass http://10.5.1.231:8080/guacamole/;
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_cookie_path /guacamole/ /;
access_log off;
}
}
sudo ln -s /etc/nginx/sites-available/guacamole.conf /etc/nginx/sites-enabled/
sudo systemctl restart nginx