您的位置:首页 > 产品设计 > UI/UE

Build web base KVM console with noVNC and SSH Tunnel

2017-10-02 19:43 2111 查看


Description

noVNC is a HTML5 VNC client that runs well in any modern browser including mobile browsers (iOS and Android).

Many companies, projects and products have integrated noVNC including Ganeti Web Manager, OpenStack,OpenNebula, LibVNCServer, and ThinLinc. See the Projects and Companies wiki page for a more complete list with additional info and links.

But VMs typically located in a private network behind firewall, thus we can build a KVM Hub and forward the port from the Hub which have public visibilities to all the VMs via the private interface.

Step1: Establish Port forward to the garget VM from the KVM Hub.

ssh  -N -fR 10.124.116.109:49003:10.113.82.141:3388 sshhub@10.124.116.109

ssh  -NfL 10.113.82.141:3388:10.3.40.176:5917 sshhub@10.113.82.141

Step2:

Use the launch script to start a mini-webserver and the WebSockets proxy (websockify). The --vnc option is used to specify the location of a running VNC server:

./utils/launch.sh --vnc 10.124.116.109:49003

Point your browser to the cut-and-paste URL that is output by the launch script. Enter a password if the VNC server has one configured. Hit the Connect button and enjoy!




内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐