Can anyone advise how I can view an internal IP which does not have SSL, in a HA panel which is running over SSL.
My setup is on https://xxxx.duckdns.org which I use both internally and externally and I would like to view 192.1681.10 which runs my AdGuard Home on a different machine to my HA.
Any advice and pointers appreciated please.
If you want to access them remotely, you need to make the serbice available through SSL, if local is enough install a reverse proxy.
Yes, sorry, I understand that I need to have the service available through SSL to be able to use it.
I guess my question is therefore more how do I make services available via SSL
If you only want to access it locally you can use a reverse proxy such as NGINX, Caddy, Traefik, etc.
Ideally id have external access too.
My confusion comes because;
My ssl on my HA is done with NGINX and Duckdns/letsencrypt. In my router i have port 443 forwarded to 8123.
I have set a new random port (lets say 1010) to forward to port 80 on my internal ip .10 where Adguard is running.
I can access xxx.duckdns.org:1010 to access Adguard externally over HTTP. However, how do I do this over HTTPS? When i try going to https://xxx.duckdns.org i get to HA (Correctly), but if i try putting :1010 I dont get anywhere and get ERR_SSL_PROTOCOL_ERROR
You should be forwarding 443 to 443 not 8123.
I use a subdomain for other services and then in NGINX i route the taffic to the respective http service based on the subdomain that has been called.
For anyone else viewing this thread, this is how I decided to achieve my desired outcome of being able to view internal iframes externally.
Scrapped Duckdns, lets encrypt and Nginx SSL Proxy as Supervisor Addons.
Purchased a domain (home.com)
Scrapped home.duckdns.org
Set up domain DNS to Cloudflare
Used cloudflare to create a 15 year SSL certificate
setup a webserver on a raspberry pi
Using cloudflare pointed any requests to hassio.home.com to HTTPS and external IP
Set router to forward 443 (SSL) to my new port for HA on my internal IP running HA
Used cloudflare to point any request not hassio* to HTTP and external IP
Set router to forward 80 (non SSL) to my new web server (home.com - no real plans for this)
Also set up port forwarding on router of some other using some other secure ports cloudflare allow to be forwarded over SSL
Installed my cloudflare SSL certificate in Adguard and also Portainer (neither are HA Addons)
Now I can access https://hassio.home.com to view Home Assistant
Within there I have ipanels for AdGuard and Portainer, but both can also be accessed directly using
https://hassio.home.com:xxxx where xxx is the SSL port I chose to forward through
It was a long winded process but it feels like a good weekend to get it all done.
Now if only I could access my router page in HA id be sorted, but I think it struggles because it has an authentication popup
A lot of credit should go to https://hodgkins.io/securing-home-assitant-with-cloudflare which was the most useful of many resources I used @MattHodge