ThomDietrich / home-assistant-addons

AutoSSH Home Assistant Addon - alternative to cloud or VPN: Permanent port forwarding
MIT License
32 stars 18 forks source link

Docker address of HA changed from 172.17.0.1 to 172.30.32.1 #10

Closed hnykda closed 1 year ago

hnykda commented 1 year ago

Hi,

After a recent update to HASSOS 9.4, this addon forwarding stopped working. I found this line in the logs:

connect_to 172.17.0.1 port 8123: failed.

so I changed my config line in the addon to 172.30.32.1 (guessed that from running ha network info when sshing to the server):

remote_forwarding:
  - 127.0.0.1:8124:172.30.32.1:8123
  # - 127.0.0.1:8124:172.17.0.1:8123  # this used to work until 9.4

and it started to work again, not entirely sure why. Reporting here just in case someone else runs into this issue and maybe to update the docs as well?

hnykda commented 1 year ago

Actually yes, this is a change in HASS OS change indeed as confirmed here: https://github.com/home-assistant/operating-system/pull/2246#issuecomment-1348739394

ThomDietrich commented 1 year ago

Good catch! Confirmed working / breaking 😆