Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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

Repeater and SC

Post Reply
hazbenz
Posts: 2
Joined: 2008-10-29 21:36

Repeater and SC

Post by hazbenz »

Hi,
I am fairly new to Ultra VNC and was wondering if (and if so - how?) it is possible to set up SC to connect to my server (SBS2003 with ISA 2004) if someone is having an issue and then I connect to the server using Viewer and connect to the session that is having issues? I may be at my desk or I may be mobile (using mobile broadband) so fixed IP is not always available except at the server.

I presume I would require the Repeater but cannot figure out how to achieve this. If someone could point me to a document or thread it would be really appreciated.

I should add that I have already set up a SC to connect to my server and ISA currently forwards to my desktop. This works well but (obviously) only when I am in the office.

TIA.
quatermass
8
8
Posts: 13
Joined: 2006-06-27 14:23
Contact:

Re: Repeater and SC

Post by quatermass »

SC?
Stuart Halliday
The Aquarium Wiki Encyclopaedia
hazbenz
Posts: 2
Joined: 2008-10-29 21:36

Re: Repeater and SC

Post by hazbenz »

Single Click
fmustang76
Posts: 1
Joined: 2008-10-30 22:37

Re: Repeater and SC

Post by fmustang76 »

I recently had a similar issue within the last week. I wanted to connect SC to a UltraVNC Repeater that has a changing IP. And also connect the Viewer to the same UltraVNC Repeater. And I wanted to use the most recent DSM encryption plugin. I found parts of the information below at several different resources and I cannot recall the exact locations. My encounter with the DSM plugin version problem is one I didn't research but figured out and got working myself. So I am including everything I learned in one place since I was able to get this to work. If I find the resources I will submit them. I have left out steps that are documented in the following locations in regards to the Repeater and SC setups. Please review those documents for the installation of each. Below that is how I set mine up successfully with and without the DSM encryption plugin.

UltraVNC SC Documentation- http://www.uvnc.com/addons/singleclick.html
UltraVNC Repeater Documentation- http://www.uvnc.com/addons/repeater.html

Goal-

Have UltraVNC SC make a connection to the Repeater on a remote server.
Have UltraVNC Viewer make a connection to the Repeater on a remote server.
Allow both the SC server and listener to connect through firewalls.
Connect to the Repeater that has a dynamic IP that changes often.
Will also work with a non-changing Repeater IP address.

Before continuing, make sure you can open the correct ports in your firewall or gateway to allow the connection to the repeater program. The Default is 5500 for the SC Server connection and 5901 for the Viewer Connection. If you can't open the correct ports then this will not work correctly.


First thing, is to setup a DynDNS.com or No-IP.com account. Both have a free service that assigns a subdomain name, such as example.dyndns.org to your changing IP address where your Repeater Server will be installed. They each have several domains to choose from and you can get a full domain name, such as www.myvnc.com with a paid account upgrade. You will have to be able to install a client application on the Repeater Server that will update the service of any IP address changes. They both have update clients available for free. Some routers such as Netgear WGR614 have the option for this built in and then a client would not be needed. I use the free Gateway IP Monitor with the DynDns.com service because it also sends me regular emails and an email any time my IP address on my server changes. I needed that before I used the DynDns.org service. I use a DynDns account and so in the following setup example, I will be using "example.dyndns.com". Be aware this is not mine or a known real address.

Next is to setup your repeater and turn both mode 1 and mode 2 on. Set the ports accordingly in the repeater settings. Default is 5500 for the SC connection and 5901 for the Viewer connection. Again, you will also have to open the correct ports in your firewall for your repeater to be able to accept incoming connections from the SC and the listener.

Now add the correct "Hosts" to the UltraVNC SC "Helpdesk.txt" file which you should already have downloaded. The first example below is a normal, no encryption connection. The second example uses the MSRC4Plugin_NoReg.dsm encryption plugin.

Important: If you use the encryption plugin make sure to include the correct plugin file from your UltraVNC installation, i.e. "MSRC4Plugin_NoReg.dsm", in your custom.zip file. If you do not the version that is included by UltraVNC SC Creator online might be a different version than installed on your PC and your connection might not work. I spent a lot of time before I figured that part out!

DSM Encryption Plugin Info:
SC DSM Download link version # = 1.1.0.0
SC Online Creator version # = 1.1.6.0
UltraVNC Setup version # = 1.2.0.0
Most recent DSM Plugin version # = 1.2.2.0



Both the SC helpdesk.txt file and the Viewer shortcut contain an ID number for the repeater to identify with and both must be the same. In my example the ID number is 1234. I think it can be up to 8 numbers long. I suggest changing that and making sure they are the same in both the SC helpdesk.txt file and UltraVNC Viewer.


Example SC Heldesk.txt Hosts:

[HOST]
SC Through Repeater - Normal Connection
-id 1234 -connect example.dyndns.org:5500 -noregistry

[HOST]
SC Through Repeater - DSMPlugin Connection
-plugin -id 1234 -connect example.dyndns.org:5500 -noregistry



There are two main ways to make the UltraVNC Viewer connection.

The first is opening the UltraVNC Viewer.
Enter the VNC server as "ID:1234"(Use your ID from setup above).
Select the correct DSMplugin to match the SC connection.(If you used one).
Where it asks for the proxy/repeater, put in you DynDns.com address and port: example.dyndns.org:5901(Use your domain name and port from setup above).
Click Connect once the SC Server is listening.

The second way is making a "SingleClick" shortcut to UltraVNC Viewer, by right clicking the shortcut, and selecting properties.
Edit the target path as follows.

Example UltraVnc Viewer Shortcuts:

Viewer through Repeater Normal Connection:
"C:\Program Files\UltraVNC\vncviewer.exe" -proxy example.dyndns.com::5901 ID:1234

Viewer through Repeater DSMPlugin Connection:
"C:\Program Files\UltraVNC\vncviewer.exe" -proxy example.dyndns.com::5901 ID:1234 -dsmplugin MSRC4Plugin_NoReg.dsm
Now Click the shortcut to Connect once the SC Server is listening.


And that's it. You should now be able to make a connection from both the Ultravnc SC Server and the Ultravnc Viewer to the Repeater Server, even behind firewalls and with the SC Server, Repeater Server, and Viewer IP address' constantly changing. Hope this helps & Good Luck.
Last edited by fmustang76 on 2008-10-31 11:54, edited 2 times in total.
Post Reply