Remote access device VNC

Hello,
I added a vnc server in chromium balena blocks: chromium blocks which shares the socket of the x11 server to have remote access to the user interface.
It works quite well, I can display the user screen on my PC via Remmina or vncviewer witch cli.
The problem I have is that it only works in the local network from the device’s IP, my vnc server is also reachable from the public IP but still in the local network…
Is there a solution to access a Balena device from anywhere (except Balena cli)?
or with balena cli can we add vnc support?

Thanks
Best Regards

Would you share your code? I am trying to get vnc working in the browser block and for some reason I can’t get it to work.

Hello,

Here is the source code: chromium containing the chromium service as well as a no vnc access to the interface
NB: still in the development phase, the no vnc access is only available in http, there are still many improvements to be made, but this base will allow you to move forward in your project


BR
Firat

Thank You, this is much appreciated.