Skip to content

pan2za/rwctl

This branch is 5 commits ahead of, 220 commits behind novnc/websockify:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

29a53e7 · Mar 10, 2019
Sep 9, 2013
Jun 27, 2013
Aug 19, 2014
Apr 22, 2016
Oct 10, 2016
Nov 16, 2016
Aug 1, 2015
Apr 12, 2013
May 13, 2015
Feb 18, 2016
Oct 15, 2012
Apr 3, 2013
Jan 13, 2011
Mar 10, 2019
Nov 16, 2016
Mar 26, 2011
Apr 15, 2013
May 15, 2015
Nov 15, 2016
Jun 30, 2016
May 13, 2015
Sep 17, 2012
Jan 24, 2011
Sep 23, 2011

Repository files navigation

This is not only a clone from the offical websockify The original idea is:

novnc client --------------->websockify---------------------------->vnc server

The idea here is:

novnc client -------------->websockify--------------------------->vnc server

                          +                                     +
                          
                          rctl-server---------(rctl-socket)----rctl-client
                          

                          =rwctl-server                         =rvctl-client

where, rwctl-server= websockify+rctl-server rvctl-client = vncserver+rctl-client

where, rctl can refer to the other project pan2za/rctl

Why?

I need a server as a anchor, so that I can remote control a NAT-ed internal network.

How?

1 rvctl-client will always connect to rwctl-server, and rwctl-server can list all its clients. 2 when novnc client want to connect the remote internal vnc server, it first connect to rwctl-server 3 then rwctl-server selects a rvctl-client, which can be selected by the novnc client using other control method 4 and rwctl-server connect to rvctl-client( or the vnc server, they are the same object), 5 and the rvctl-client( or the vnc server) will response as a vnc server always does. 6 then the novnc client works

为了解决内网穿透问题,采用了反向代理,由vnc server所在位置建立一个永久在线连接,连接到服务器(服务器端拥有公网IP),由此所有向内网的vnc连接,都经由服务器代理。 To resolve the internal network tranversial issue, a reverse proxy is applied. First a always-online connection is established in the vnc server, and the connection will be reversely connected to the server where there is a public IP. The whole internal network vnc connections, will always be proxied by the server.

About

a clone from https://github.com/novnc/websockify, works as a proxy between rctl-client and novnc client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 33.6%
  • JavaScript 30.3%
  • C 12.9%
  • HTML 12.3%
  • Ruby 5.6%
  • Clojure 2.8%
  • Other 2.5%