I am breaking my head around it and all solutions with reverse proxy push me to a certificate but atm I prefer just to only forward to another server.
Why? I have zerotier installed on my homeassitant and would like to reach via homeassistant (or an extra docker container) a server behind home assistant.
I don’t get it why you make it so complicated?
Yes sure you can setup for example a nginx Webserver with certs and stuff and also configure a redis-server.
But again - why so complicated?
If you want to make a tcp service (e.g HA on port 8123) available on another server, why not using ssh?
I have no idea about hassos as I don’t use it.
But I guess you can ssh into hassos? I assume hassos is based on any linux distri, that means “ssh” should or can be installed.
You can also automate the connection that you don’t have to deal with passwords for ssh. Like create a key, put the public key in the authorized_keys on the other server and configure the connection in /etc/ssh/ssh_config and use a script for building the connection again if lost.
Or well. You could also connect from the other server via ssh to hassos and use “-L” instead.
Or you can use even openvpn or any other vpn solution for that. But ssh port forward will be the easiest and fastest solution if you never worked with vpns before.