Login error with ssh tunnel

Hello,

unfortunately, I’m behind a DS-Lite and so I cannot access my HA from an IPv4. I set up an VPS to which I connected from HA via ssh to create a tunnel. In theory, I should be able to access HA via the VPS from an IPv4 address. I do see the login screen but an error is displayed.

1

The blurred IP is the one from the VPS. I played with trusted_networks as you can see in the screenshot but with no luck.

homeassistant:
  auth_providers:
   - type: homeassistant
   - type: trusted_networks
     trusted_networks:
       - 127.0.0.1
       - ::1

I always get this error message:

  • Login attempt or request with invalid authentication from localhost (::1) (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36)

Does anyone know how to solve this? Any help is appreciated :slight_smile:

Does nobody have an answer to my problem?
The ssh tunnel works as I can access my Raspi from outside. But somehow HA forbids me to login…
If I should provide any other information that is missing, please tell me.