Display internal URL on home assistant

I try to create an i frame, poiting to an internal URL, with no success.
I found this post (Accessing local websites via remote control nabu casa URL - #4 by pjcarly)

I follow its instructions and created this code on my config file:

panel_iframe:
  sonweb:
    title: serverconfig
    icon: mdi:lightbulb-on
    url: /config/server_control
    
  proxmox:
    title: "Proxmox"
    url: "https://192.168.100.2:8006"

  router:
    title: Router
    url: "https://192.168.100.1"

The first frame, worked perfectly, but the other 2 (my proxmox server webpage and home router page, do not work.
I read on later on the same post that this cant be done using Nabu casa (I’m using it and wont change this)
That link shows exactly what i want to do.

Am I doing something wrong?
Is there any other option to get this?

Did you try with “http” instead of “https” ? https needs a certificate… do you have one for 192.168.100.2 ? Maybe the reason why it is not working

I have tested the following variant with no success:

 proxmox:
    title: "Proxmox"
    url: https://192.168.100.2:8006

  router:
    title: Router
    url: https://192.168.100.1

No double quotes


  proxmox:
    title: "Proxmox"
    url: http://192.168.100.2:8006

  router:
    title: Router
    url: http://192.168.100.1

use of http and no quotes.

Non of those have worked so far and not sure how to diagnose issues.

Thanks fro the suggestion.

Just to be sure it’s clear for you: you’ll never be able to display an internal page from internet via an iframe.

Why? Please look the post I tagged (this one: Accessing local websites via remote control nabu casa URL - #6 by Joerg) and see the image, he is displaying the internal page of his NUT at his home.

Thanks for your help.

Why?

Because the pages in an iframe also need to be accessible from the internet. There is no magic proxying.

So, will never work with an internal Ip. With a VPN or a reverse proxy, sure, but then the url’s will be different.

Just to clarify what @koying is saying, even the post you’re referencing specifically says he’s using a VPN.

Now I underestand your comment @koying thanks for it, and also thanks to @petro for further clarify.
Any other recomendation?
thanks.

Besides VPN or reverse proxy? None that come to mind.

Ok i will see what optins do I have on those two.
Thanks.

Install the Wireguard addon - and set up the VPN client on any device that needs access. That’s the easiest way. I use Wireguard to view my CCTV cameras when I am not at home.

Hi,
the view I showed is the internal view, but I told its not working with NC:


Viewed via NabuCasa it looks like this:

As said: use a VPN like for example VpnCilla if you are on Android