Home Assistant - Remote Access (Port forwarding on nest Wifi)

I’m a one day noobie here. Finally took the jump and installed Home Assistant yesterday.

I got it working on a Raspberry Pi 4b. I understand the basic concept of port forwarding, opening ports 80 and 433 and redirecting external queries to 8123 but how do I do it on the nest wifi and what do I have to change?

I have also created a sub domain using duckdns and when I select https and force ssl, it says internal error.
I have also changed the external and internal URL inside the home assistant.

Why not ask in the google support channels?

You mean google don’t offer support? Shock. Horror.

Looks like you have forwarded the ports fine. This looks like how you would do it on any router, google or otherwise. The problem now is the server you forward to needs to handle all the http redirects, etc. People usually do this with a proxy as a router won’t just do this for you. Maybe check out this discussion:

I either use a proxy server like they are discussing or just put a standard port forwarded in your url e.g. https://foo.org:8123/foo

Port forwarding or port opening - Google Nest Help see community forums and “contact us”. But note this isn’t a google wifi problem at all, just pointing out there is support.

1 Like

What am I doing wrong?

I assume that you can’t do both ssl and straight http on the same port. That is, you have 80 and 443 forwarded to the same destination ip and port which seems incorrect.

Is 8123 your nginix port? That looks like a home assistant port.

I just read the docs for the nginix addon which I assume you are using and it says to forward 80 and 443 to hassio. Given it doesn’t mention a destination port, I assume it should be the destination 80 and 443 ports also not the hassio port.

So what should I be doing to fix it?
8123 is for home assistant.

Update - so in the proxy server should I put subdomain.duckdns.org and put the port as 80?

Maybe your port forwarding in the router should be 80 -> 80 and 443 -> 443? The screen shot says 80 -> 8123 and 443 -> 8123