This is a guide to setup the guacamole service using docker compose and access the remote server from guacamole using the private ip address of the remote server.
POSTGRES_PASSWORD='postgres_pass'
POSTGRES_USER='postgres_user'
GUACAMOLE_DOMAIN='yourdomain.com'
LETSENCRYPT_EMAIL='[email protected]'
docker compose -f docker-compose.yml up -d
curl -fsSL https://tailscale.com/install.sh | sh
tailscale login
tailscale up
This will start the tailscale service and it will be accessible from the internet. You can access the service using the tailscale ip address which can be found in the tailscale dashboard or printed using the command tailscale ip
.
Use the tailscale ip address and configure the guacamole service to use the tailscale ip address. This allows you to access the remote server from guacamole using the tailscale ip address.
tailscale down