Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Struggling with SC and repeater over dynamic DNS with NAT

Single Click discussions / bugs
Post Reply
darrinsmith
Posts: 2
Joined: 2011-04-14 03:38

Struggling with SC and repeater over dynamic DNS with NAT

Post by darrinsmith »

Hi
I've read lots of articles but they all seem to only do half of what I want to do, or seem to miss vital steps, so I was hoping for some guideance on this forum.
OK I want to provide support to remote clients using SC. My office has a dynamic DNS setup with a hostname that is always updated. We currently use this for MS web workplace so I know it works. Let's call it xyz.net.
I have configured our firewall to allow a port (6502) through to an internal machine running repeater.
I have a number of workstations that I want clients to be able to access.
We use DNS internally, so lets call the machines box 1 box 2 and so on.
So, for the SC setup, in the [hosts] section, should is be something like...
[HOST]
box 1
-id 1 -connect xyz.net:6502 -noregistry
[HOST]
box 2
-id 2 -connect xyz.net:6502 -noregistry
and so on...my understanding is that this will forward all requests to the machine running repeater, with the ID of the workstation requested.

Now for the machine running repeater,
Where should I put my custom port, in the accept or listen box? and then what should be in the other box?
and then in the "only allow connections to server" box on the machine running repeater, should I have the following...
192.168.1.1 ID:1;192.168.1.2 ID 2 and so on?
So this means the repeater should forward ID1 requests to 192.168.1.1 and so on? (of course the workatations need to be listening..)
Would anyone like to comment/correct?
Thanks!
DS
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Struggling with SC and repeater over dynamic DNS with NA

Post by B »

The "Listen Port Viewer" is the port on which the repeater expects incoming Viewer sessions. The "Listen Port Server" is the port on which the repeater expects incoming server sessions. It sounds as if in your case the Listen Port Server should be 6502 (the SC stations are the ones running UltraVNC server) and the Listen Port Viewer needs to be.... something else. The usual default is 5900, but I always like using non-standard ports.

I haven't played with the "only allow connections to server" box, but it doesn't seem as if that would be very useful when every station already has unique repeater ID (in "Mode II"). You don't need to put anything in that box.

The repeater doesn't have to figure out which station to which to forward requests -- both the viewer and server are connecting to the repeater with matching repeater IDs (the ones in your file, that is, 1, 2, etc.).
darrinsmith
Posts: 2
Joined: 2011-04-14 03:38

Re: Struggling with SC and repeater over dynamic DNS with NA

Post by darrinsmith »

Thanks,
Switched to ChunkVNC got it working in about 5 minutes.
I'd recommend that by far...
Thanks
DS
Post Reply