[New Addon] Access machines in your homenet with Apache Guacamole, Ingress Support!

Nope, even with 1.5.1 now the error persists. No connection possible.
What exactly is needed to make a simple VNC connection? Hostname, port, go for it?

Is anything needed here? I don’t get it.
grafik

Is this still active / available?

I never managed to access any host via any protocol using this addon.

I guess HA iframe panel is the only way to go. There is really no need for this addon.

The iFrame is only good when you are on your local network, since the browser needs to be able to directly reach the server. Same issue if you try to frame an independent Guacamole docker without ingress, because it will have a local IP.

I can confirm that Guacamole Client from alexbelgium/hassio-addons works perfectly fine to RDP / VNC to connect to computers on the local network.

If people just want to reach web pages or browse the Internet from their home IP remotely, they can use this addon: Home Assistant Add-On: Firefox

If you setup iFrame in a smart way, it can work with both local and public address.
This is how I did it.

  url: >-
    ${'http://'+window.location.hostname+':20530/guacamole/'}

It is basically taking ip or hostname from URL as my HA and Guacamole are on the same machine.

Ok, so you expose the Guacamole port. This is not something I would do and it’s quite far from the OP that was about using Guacamole with ingress.

I use reverse proxy so no additional port exposed.

Hi,
Sorry for my basic question. But somehow it wasn’t clear to me from the description.
I use HA with a Nabu Casa Cloud account (URL like blablabla.ui.nabu.casa)
It’s not entirely clear to me whether I need anything else besides the add-on need.

Has anyone been able to connect from HA via the Guacamole Client Add-On and RDP to one of their PCs?
I have the same problem as @e-raser described above, no connection and the Guacamole log shows as remote host 127.0.0.1
If anyone has managed it, could he/she please share it here.

Thanks in advance

I am using guacamole in docker container and HA iframe addon.

@alanmilinovic , so you use in HA configuration.yaml something like this?

> panel_iframe: 
>    RDP1: 
>      title: "RDP1" 
>      url: "http://homeassistant.local:4822"

I have this.

  type: iframe
  title: null
  card_mod:
    style: |
      iframe {
        animation: fadeIn 3s forwards;
      }
      @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
      }
      #root {
        height: calc(99vh - 48.5px);
        padding-top: 0 !important;
      }
  url: >-
    ${'http://'+window.location.hostname+':20530/guacamole/?username=xxxx&password=yyyy'}

As HA and Guacamole container are on the same machine, I am grabbing IP or Hostname when outside of House from url.

You cal also have direct link to your connection to have RDP inside HA. Something like this:

${'http://'+window.location.hostname+':20530/guacamole/#/client/MG58mlAHBvc3Rncmdz3w?username=xxxx&password=yyyy'}

Inside local network it works, I can open connection with iframe, but outside (remote from other network) I get the error in HA browser window:

Unable to load iframes that load websites over http:// if Home Assistant is served over https://.

… and if I change url to https in the iframe I get error (local and remote):
homeassistant.local was not found

How do you use HA from outside? I have dyddns and port forwarding on my router and it works perfectly.

Not sure if you use http locally and https from outside then of course it will not work. Try to use window.location.protocol for that part.

I use HA with a Nabu Casa Cloud account (URL like https://abcdefghijk.ui.nabu.casa)
Normally both outside and at home.

Just for these tests I tried the http protocol (at home).

FWIW I use the Firefox add-on that was mentioned above , and it basically does what I need in case I need local web access even over the Nabu Casa connection.

It’s over VNC, rather than being a reverse proxy, but does the job when I have no other connection to the local network (e.g. my Tailscale VPN is down).

Hi,
Just want to give a short status.
After I re-install the add-on and complet restarted the HA host PC it looks it works out of the box.
Nothing special configuration was added… just the add-on and it looks like as it works. I use the ‘Guacamole Client’ on the HA menue (left side) and have configured different RDP clients in Guacamole connections.
All works as expected, amazed at how well this works !

But I have to retest from outside again next week.

1 Like

I haven’t had any luck. All I get is the following when I try to connect to my computer:

Is it possible to use Duo authentication with this addon? If so, how can we set that up? Thanks in advance.

guys i Fed up, so i changed phones and lost acsses to my 2FA.
iv tired to remove the add-on and rebooted, but its still holding on to my config and old passwords? so it still promts me to login using my old usre/pw and 2fa

How do i fix this?
i deleted the config folder i could find inisde Visual Studio under Addon_config