Getting CATT to work on Google Hub

I’ve read through countless forum posts whatched many videos online but I cant get CATT to display my Lovelace on my Google HUB.

I’ve the following in my config regarding auth profiders:

 auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 192.168.1.249/32
      trusted_users:
        192.168.1.249: fc3575bfb47b4c7....
      allow_bypass_login: true
    - type: homeassistant

The ip address is the address of the HUB and only one user can access this without login, I’ve tested this with the ip of my notebook and logging in automatically worked.

I’ve setup duckdns so I can access my home assistant from outside my network.

If i try to cast to the google hub the following way I get a login screen:
catt -d 192.168.1.249 cast_site https://xxx.duckdns.org:8123/lovelace/default_view

If I try with my internal IP i see the cast loading screen and the shuts down. Home Assistant isn’t shown at all.
catt -d 192.168.1.249 cast_site https://192.168.1.100:8123/lovelace/default_view

The url https://192.168.1.100:8123/lovelace/default_view is also insecure. Is this the problem or is there something else I am missing.

If there is someone that is using CATT in combination with duckdns please let me know how you got it working.
I think it is this combination but I didn’t get it to work yet and it is driving me crazy.

I fixed this using by using reverse proxy.
I installed Nginex Proxy manager and with that approach i can cast without any issues.
This thread can be closed