Mask noVNC console url behind my own PHP server

smokevps

Member
Apr 15, 2021
1
0
6
44
I have read all the threads regarding Proxmox API noVNC implementation, but I still did not get the clue how to implement my idea.
I am building a control panel for my VPS clients and have already successfully implemented all API features (start / stop / backups / snapshots / usage graphs, ...). I absolutely love PM API, it was pretty straightforward to implement.
VNC console is my last task and here is my problem.
I dont want users to see or access my "supersecret-proxmox-ve.com:8006" directly. I don't want them to see this url in iframe (its behind firewall anyway). Even less I want them to have cookie with actual access to VE dashboard.
So I figure I need some kind of proxy, but I'm not really sure this is even possible. I want them to have access to console via my internal URL, to which they are already authenticated. Then I would create a websocket connection on the server side with PHP. There I would also make sure that they can only reach their own VM.

Is this even possible? If it's not, how do you solve this problem? Do you really not have custom fancy control panels for your VPS customers with graphs and console access and such? :D

Thank you!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!