wlvncc icon indicating copy to clipboard operation
wlvncc copied to clipboard

Implement reverse connections

Open NDagestad opened this issue 4 years ago • 5 comments

I needed to do a reverse connection to the vnc server so I implemented it quickly, if My libvncserver changes are merged upstream, would you want this in wlvnc ? (my patches to libvncserver can be found in my fork or at https://git.dagestad.fr/~nicolai/libvncserver)

NDagestad avatar Apr 08 '21 18:04 NDagestad

What do you use this for?

any1 avatar Apr 09 '21 15:04 any1

When the computer your want to contrôle is not accepting incoming connections or behind a nat or something it can be quite useful, in my cas it is on a corporate windows PC where I cannot control the firewall rules. I am not sure how common the functionality is, but I have seen some clients implement it like vinagre, tigerVNC, and tightVNC (at least the server does so I would assume the client too)

NDagestad avatar Apr 09 '21 16:04 NDagestad

Can this not also be done with ssh tunneling?

any1 avatar Apr 09 '21 17:04 any1

It might be, I am not familiar enough with windows to know on top of my head, I can try when I get back on Monday

NDagestad avatar Apr 09 '21 17:04 NDagestad

Well after a few days of trying, I could not get VNC to work through the ssh tunnel. The tunnel itself works but for some reason, it just doesn't connect to the server...

NDagestad avatar Apr 14 '21 12:04 NDagestad