私が本当に最新かどうかはわかりませんが、既存のプロジェクトをHTML5WebSocketを使用するように変換する方法を探しています。
これが私の状況です:
- Client runs a modified java vnc applet with extra parameter (CONNECT).
- Modified stunnel listenin on webserver (with both public, private IP) port 443
- Client connects to 443 and sends (prior to RFB) a HTTP packet like :
'CONNECT 10.0.0.1:4001'
- Stunnel opens a new stream to 10.0.0.1:4001 using SSL wrapper
- VNC Server (@10.0.0.1:4001) responds, connection is established.
ここで、Javaアプレットを取り除き、NoVNCを使用してWebsocketに切り替えたいと思います。
私はできるようになりたい:
- Open a single port on the webserver (HTTPS preferably)
- Have client connect using HTML5 only (no more java applet)
私は変えられない :
- VNCServer will still be listening on private LAN only.
- VNCServer will still listen to a bunch of ports, each corresponding to
a virtual server
質問は:
- How to give NoVNC the notion of target HOST:PORT ?
- Is stunnel still be usable ? Or should I change to websocket proxy ?
誰かが出発点を持っているなら、私は本当に感謝します!