I’m hoping that you can help me work out an issue that I’m having trying to access HA remotely. Effectively, I have both Duckdns and SSL (using Let’s Encrypt) installed successfully. However, it’s using the traditional 8123 port (i.e. https://xxxx.duckdns.org:8123/).
As my workplace blocks ports such as 8123, I wanted to get it to work just using https://xxxx.duckdns.org/ which I tried by setting up a portforward on my router for external IP with port 443 mapping to the HA (on RPi) on port 8123. As opposed to the previous port forward which was just 8123 straight.
Have you set up port forwarding on your router to allow traffic from 443 to your RPi’s IP address? If not, you don’t really need to change your port in the hass config, you can just set up a port forward rule for source port 443 to destination (RPi’s IP address) port 8123.
I hadn’t tried that – I’ve just amended the configuration file to reflect the server_port as 443. Previously, I just had base_url: xxxx.duckdns.org:8123. I’ve deleted 8123 from that line and saved.
I already had Portforwarding from 443 (External) to 8123 (Internal). However, since I’ve changed the server_port in the configuration.yaml, I should also change the Port Forwarding rule to 443 (External) to 443 (Internal), right?
I am assuming this is a router issue, as a port scanner is showing both 443 and 8123 on the RPi as open. So will see if I can get support for the router (Netgear Orbi), and then will advise if this fixes it.
Turns out the culprit preventing incoming 443 connections was the ISP. I’ve since fixed that (through the ISP’s control panel), and it is working all smoothly now.