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

SC with repeater

Single Click discussions / bugs
Post Reply
prdu7coder
Posts: 2
Joined: 2006-10-31 23:02

SC with repeater

Post by prdu7coder »

So I've been banging my head over this for several hours today, and even the excelent help on this forum hasn't quite been helpful enough. So here's the problem:

I can get SC to connect directly to my viewer just fine.
the viewer is listening mode, with the repeater [host] string of
"-connect 10.120.10.38:5500 -noregistry"
works perfectly.


But when I throw in the repeater, it all falls appart. My string is:
"-id 106 -connect 10.120.10.38:5902 -noregistry"
I had to change the port to 5902, since the repeater was unable to bind to 5901. Also, the repeater and the viewer are both running on my PC for now, so I disabled mode II. I think I only need mode I anyway, since the intended connection will look like:

[tech's PC]---[repeater]---[our firewall]---[Internet]---[client's firewall, which we have no control over]---[client's PC, with SC].

It looks like it starts up fine
Version 107
socket() initialized
bind() succeded to port 5902
listen() succeded
When I run the SC (on another machine within our network) I get
accept() connection
Viewer added to list 106
So it looks sorta like it works. Except that it thinks there is a viewer connecting. That is throwing me off a bit.
This is where I get stuck. If I try with to connect to the repeater via VNC viewer with the settings (VNC Server) "ID: 106" and (Proxy/Repeater) "10.120.10.38:5902" it says
accept() connection
and that's it. That's the best result I've gotten so far. What should I be doing differently? Please help!
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: SC with repeater

Post by redge »

repeater = mode II
id number require mode II enabled
both side can be NAT firewalled.

replace 5900 by 0 for accept mode II function (id number)
[topic=1340][/topic]

proxy/distributor = mode I
don't require id, but is direct connection, won't allow bypass NAT
one side require port open.
UltraVNC viewer connect via repeaterI to UltraVNC server
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
prdu7coder
Posts: 2
Joined: 2006-10-31 23:02

Re: SC with repeater

Post by prdu7coder »

Thank you for the response, but unfortunately it did not yield any results. Am I to understand that to use the SC functionality as described I MUST set the repeater to use mode II? Also, none of the pictures in the link you posted loaded for me. Perhaps they could be reposted? It is a very old post...
Last edited by prdu7coder on 2006-11-01 00:25, edited 1 time in total.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: SC with repeater

Post by redge »

UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply