I want to share a solution to get your Home Assistant System hooked up to a public domain (or public IP). This solution works without portforwarding or a public IP for your home. You need a publicly available server though, i.e. for website hosting or your own mail server.
I decided to use an SSH tunnel instead of a VPN or one of the supported cloud services. The solution has a tiny footprint and has been rock solid so far.
Simple sense check: If you had little contact with “SSH servers” so far, this add-on is probably not for you
The addon can be found in my repository at:
The add-on has been running smoothly for almost two years.
At the time of this writing, no bug is known to me.
To be clear: This add-on is useful for you if you own a public server with an SSH service. This is also great in combination with a domain name, as you can then reach your home automation UI via e.g.
On the public server you link your setup to, an SSH server needs to be accessible and credentials must be provided to your Home Assistant instance. As this is a significant security risk by itself, I suggest a docker based solution to containerize the SSH-to-publicly available-IP task. A
docker-compose.yaml is provided with the repository.
I hope you enjoy the add-on and please do not hesitate to drop me a ticket or a PR.