Hello,
I am using the wireguard addon to connect external clients to my home LAN. Everything works, I can connect to wireguard from outside and I can see my home LAN from the client. I am using this to connect a zigbee SLZB-06 to my HA (raspberry pi running HAOS) from a remote location. Connection works and I can see the SLZB-06 client from HA and add it to the ZHA integration. For that to work I needed to create a new route within HA as the documentation suggested:
host_result=$(host a0d7b954-wireguard); addon_ip=${host_result##* }; ip route replace 192.168.10.0/24 via $addon_ip; echo $addon_ip
So far, so good. However, I want to connect to the wireguard client from my home LAN network (another computer different from HA) as I want to access the web frontend of the SLZB-06 dongle. However, no route exits from outside HA to the wireguard client. Is there anything I can do to connect to it?
I can do this using an external wireguard installation (not using the wireguard addon but a docker container in another machine in host mode). In that case, I need to add a static route in my router to map range 192.168.10.0/24 to the machine IP running wireguard docker. However, this same static route pointing to the IP of the machine running HAOS does not work (my guess is that the wireguard addon is running inside the docker network and cannot go through).
Is there anything I can do to achieve this? like using something similar to host mode for the wireguard addon? Many thanks,