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 Help for a Beginner Please

Single Click discussions / bugs
Post Reply
psass
Posts: 4
Joined: 2006-05-22 18:20
Location: Marathon

SC Help for a Beginner Please

Post by psass »

Hi,
I am only a beginner with UltraVNC and downloaded the UltraVNC SC (SingleClick) files this morning. I had no difficulty installing this on my workstation. I had no problem creating my own custom.exe that I called Support.exe which is as I understand it a mini server.
I set this up to work on port 80 and when I run it on another computer on the internet it comes up and advises me "Waring, your desktop is remote visible.... etc.... etc". So I guess this is working just fine.

How when I load up the viewer called the "Ultr@VNC Viewer" icon created on my main computer desktop, I assumed by entering in the IP address of the computer running the "UltraVNC SC" server this would simply connect, but I get a connection to server failure. I have tried to enter in the IP address and port 80 like 192.168.0.100:80 and this fails to.

I am picking the "Internet support" item in the double click mini server so as to by-pass any potential encryption issues.

I can ping the PI address of the remote computer running the "UntraVNC SC" double click server. I can port ping the remote computer on port 80, and I can use XP remote desktop to access the remote computer. However, I have disabled the firewall at the remote site, and this is why I am trying to get the connection going from the remote computer back to me. The connection fails with the firewall totally removed at the remote site.

At this point after 6-7 hours of trial and error, I am obviously doing something totally wrong, as I thought this setup work be a no-brainer. I read through everything on the web site, but nothing seemed to assist me.

Any help via a reply would be really appreciated.

Pete,
[mod=494,1148333903]moved from General help to SC and added SC to title[/mod]
Last edited by psass on 2006-05-29 22:49, edited 2 times in total.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

you follow half part.... and make complex before simple !
try it easy before complex until you understand.


private IP won't work from Internet (outside of your network)
private IP only for internal usage on your LAN
[HOST]
internet support
myhost.domain.com::80 <-- correct over Internet

[HOST]
Internet support
-connect 192.168.0.100:80 <--- wrong (one colons autorized only for reverse standard port TCP between 5500 to 5599

[HOST]
Internet support
-connect 192.168.0.100::80 <--- correct (take care double colons for non standard port of VNC ! )

port 80 is standard http web server


If your ISP provide you a dynamic IP to you, you need to subscribe to a dynamicDNS service provider supported from your NAT broadband router and put your hostname freshly created and configure it to forward external port to your internal ip address port of your NAT/ broadband router
or
If your ISP provide you a static IP to you, you need to forward external port to your internal LAN port IP address configure it to your NAT/router.

only for vncviewer side listening
you need to open port 80 to your broadband router,

[syntax="text"]
Single Port Forwarding

Application | External | Internal | Protocol | IP Address | Enable
------------------------------------------------------------------------
SC | 80 | 80 | TCP | 192.168.0.100 | yes
------------------------------------------------------------------------

[/syntax]
myhost.domain.com::80 --> redirected internally to 192.168.0.100:80

SC initate an outgoing connection to viewer listening !
vncviewer need listen port 80 of your customized SC outgoing connection to non standard port 80 of VNC reverse connection.


Start... Run ...
"%programfiles%\UltraVNC\vncviewer.exe" -listen
(mean listen only default port 5500 without any number)

Start... Run ...
"%programfiles%\UltraVNC\vncviewer.exe" -listen 80
(mean, listen only port 80 non standard port and not listen anymore 5500)


doc to read before post... and FAQ
http://forum.ultravnc.net/viewforum.php?f=9
[topic=4606][/topic]
Last edited by redge on 2006-05-22 21:36, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
psass
Posts: 4
Joined: 2006-05-22 18:20
Location: Marathon

Basic UltraVNC Help

Post by psass »

Hi,

Hi I asked a beginners question several days ago and got a reply and really did not understand what the person was trying to tell me.

Hopefully someone can advise me if I am off track here. I downloaded the UltraVNC SC (SingleClick) version. I created my own support.exe file and have it on my desktop at work behind a company firewall.

So based upon the documentation, this server, (I hope this in fact is a mini-server and should be installed where I want to connect into) if I double-clicked should sit for 5 minutes waiting for a connection. Then I use the UltraVNC viewer "vncviewer.exe" at some remote computer and try to connect and listed at the same port as the singleclick server is set at.

The assumption is that the connect is made from within our network, outbound and passes through our firewall and the viewer I am running at home connects and I have a remote session up and running.

So I left the singleclick server set at the default port 5500 and have someone at work run it. I load the "vncviewer.exe" and enter in the IP address and port like so: 10.162.10.12:5500 and try to connect.
The connection sits trying to connect and they advises me in a popup window that the RPD protocols are incompatible, or I am using an incompatible veiwer for the server. I ensured at home I had removed my d-link 624 firewall and am sitting right on the internet and have the XP software firewall disabled.

I am running the Internet connections options in the UltraVNC SC server, so no security is involved in this connection. I wanted to get just a basic connection working prior to adding encryption into the mix.

So at this point I am not sure what is going on?

I can tell you that the commercial product Webex works just fine from work to home using their commercial outbound server based exe, and so does a couple of other trail commercial products I downloaded and tried from home into our network in the $150.00 to $200.00 range.

I assumed that UltraVNC works under the same basic principals as the 3 commercial products I tried and setup and connect. Run a small footprint exe that tries an outbound connection to a remote connection client utility with the server connecting to a specific PI and port back to the client.

So what am I missing here? Is there something I have not done, or something simple like I need to download some specialized viewer for the UltraVNC SC server?

Any assistance would be appreciated, as I have tried this over and over again to the same end result.

Pete,
[mod=494,1148424977]moved from General help to SC and merged to same subject[/mod]
Last edited by psass on 2006-05-23 22:56, edited 1 time in total.
SuperTurtle
20
20
Posts: 48
Joined: 2006-02-27 11:31

Post by SuperTurtle »

>So I left the singleclick server set at the default port 5500 and have someone at work run it. I load the "vncviewer.exe" and enter in the IP address and port like so: 10.162.10.12:5500 and try to connect.

Who is entering in the IP address? You are not clear in the above???

When you setup, build, and configure single click, you have to enter the ip address in the file called “helpdesk.txt”.

In other words, the whole idea here is that you pre-configure single click, and thus the end user just has to “click” on this SC file and it runs. However, how does the Single click system know who to connect to?

It knows, since you set it up!!! So, that user of single click does not have to enter the ip address, but YOU DO when you setup SC BEFORE YOU place SC on that work computer. So, you have to enter the IP address of your home computer (or whatever computer you want SC to connect to) into the helpdesk.txt file. This address is thus already built into SC, and it done this was to *relieve* the burden and hassle of the end user having to type in a IP address.

Of course, that IP address you are going to have SC connect to MUST be open to the internet, and not have any firewalls (or, if you are behind a fire wall, then you need to forward those ports to you computer in which you will “help” those computer victims in need of support )

In addition, since work no doubt has a fire wall, you don’t connect from home to work. You will connect from work to home! That work person clicks on SC, and it connects OUT of their network to your computer. It is critical to note that you ALWAYS want to connect OUT of the fire walled system. You can’t connect in! So, this means that SC is connecting to you…not the other way around!!!

In fact, those work computers behind a firewall likely ALL share the same internet address!!! (so, you have no chance connecting INTO the work network. It *HAS* to connect to you!!).

>assumed that UltraVNC works under the same basic principals as the 3 commercial products

Well, they are similar in that they are remote desktop support products, but they work differently.

Those commercial products have BOTH the client and the server ALWAYS CONNECT OUT OF their networks, and connect to a commercial server in between. They do this, since then both of you can be behind firewalls, and it just works without having to configure a thing (read later…as you can do this with vnc).

So, connecting OUT of your network is easy. Suppose you re-connect your router at home, and then plug in 4 computers to the built in hub. You still only have 1 IP address. How can 4 users browse the web on the same port (web browser uses port 80), but the data find its way back to the correct computer that requests the web page? What happens is that when you make a request OUT of the network, the router assigns a tag to this request, and then sends it out to the wild internet. When the data comes back…it still has that tag, and thus the router can now send the data to the correct computer behind the router/firewall. However, all 4 computers are browsing on port 80…and all data is coming back to the ONE SINGLE ip address that your router is connected to.

So, this is why connection OUT is easy…but, connecting in is hard.

The commercial systems solve this problem by having BOTH client and server connect OUT. So, you are connecting to THEIR server and for the most part that works easy.
(not much different then connecting to a web server…..easy to do!!).

So, when you initiate the connect OUT of your network, then the router does the mapping, and is able to return the data because it knows WHO requested the data. You *request* is given a special number by the router, and then all return data can go back to the correct computer. However, if you just try to connect to your home IP address, what computer should you connect to?

Now, in your case, you temporary removed the router, so that makes connecting to your home computer easy (a good idea for testing). Do note that windows XP has a firewall built in, so, you need to open up those ports.

Hence, work computer should be able to connect to that home ip address, but it is SC that contains that IP address, and it connects out to your home system.

So, keep in mind the above concepts, and these concepts should thus make all of this far more clear. I new to all of this stuff too…..

Do note, there is several add-ons and utilities for vnc that gives you the same features as those commercial systems. The “repeater” that is available for ultra-vnc has this feature. (so, both the client (single click) and the server vncviewer would connect to your server, and on that server, you would be running a copy of the “repeater”. I use the repeater, and it is a dream. (I run the repeater behind a firewall on my home network..but have the router forward the ports..so, in effect that repeater is just like those commercial systems. Anywhere, anytime…both SC and me using the viewer thus connect to my home system…and thus we can always work behind firewall no matter where we are.

So, your problem at this point seems that you did not configure SC. You need to pre-configure the address in SC for this to work..

Thus, in helpdesk.txt, you host setting should look like

[HOST]
Double Click on me to start SuperTurtle Support
-ID 4567 -connect XXX.XXX.XXX.XXXX::80 -noregistry

In the above, I configured single click to use port 80, since it this is the MOST likey port to be open. Remember, your work firewall might not all port 5500.

So, did you create your own single click? What does your config file look like?

SuperTurtle.
Post Reply