Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Multiple connections and repeater/loopback

Post Reply
rattkin
8
8
Posts: 9
Joined: 2010-12-15 16:52

Multiple connections and repeater/loopback

Post by rattkin »

Is it actually possible? I would like to preserve the reverse connection (from server to client) but be able to handle multiple connections.

I have the following setup :

- repeater in mode 2
- client, starting listening(vncviewer.exe ID:xxxx -proxy repeateraddress:5901 -shared
- server, connecting to repeater (winvnc.exe -sc_exit -id:xxxx -connect repeateraddress:443 -run)

It works just fine for single connection, but what if I would like to share connection for more people? I'm setting server on "keep existing connections", but it doesn't work anyway. In normal mode, it's quite obvious, server handles first connection, then gets another one, there are merged and can see each other. But with repeater, it gets a bit difficult, since it is the server that initiates the connection. I imagine that in this mode, once connected, server is unable to "add new lient", which connected to repeater from the other side, using the same id?

Please advise. Is it a matter of configuration, repeater maybe? The whole point of reverse connection (SingleClick solution) is to connect only to one address (repeater or single machine), increasing the security. Can I somehow get another client connected to server this way?
Last edited by rattkin on 2010-12-15 17:06, edited 1 time in total.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Multiple connections and repeater/loopback

Post by redge »

actually, is not possible via repeater mode II
only single connection ID match allowed in mode II,
no multiple vnc server connection for same ID

20 or 100 simultanous conneciont depend of the repeater version and settings.

server1 <--> viewerX
123 <---> 123 OK
124 <---> 124 OK
125 <---> 125 OK

only single vnc server reverse multi connection to many viewer allowed without ID
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
rattkin
8
8
Posts: 9
Joined: 2010-12-15 16:52

Re: Multiple connections and repeater/loopback

Post by rattkin »

Thanks for the response.

So, is there any other way to have multiple connections with reverse connection? I'm mostly interested in calling it from commandline. I know that having winvnc running, one can choose "add new client" manually, but that's sort of not the point. Can I "add client" from commandline for already working winvnc?
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Multiple connections and repeater/loopback

Post by redge »

direct mode I OK (mode II not possible with multi identical ID, different OK)
winvnc.exe -connect hostname -run
winvnc.exe -multi -connect hostname -run

"%programfiles%\UltraVNC\winvnc.exe" -id:1234 -connect repeaterhost::5500 -run

"%programfiles%\UltraVNC\vncviewer.exe" -proxy repeaterhost::5900 id:1234
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply