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

Port forwarding confusion

Post Reply
Riverglen
Posts: 6
Joined: 2007-09-22 15:40
Location: Liverpool, NY

Port forwarding confusion

Post by Riverglen »

I have a home network with two machines on it, and I would like to be able to use either of them to run the viewer. I expect to run the Single Click server to help friends with their problems remotely. I went through the exercise to set up port forwarding for ports 5900 and 5800, and set up static IP addresses on both machines successfully. Now I come to the realization that the VIEWER apparently uses port 5500 (based only on the default info I find in the supplied example helpdesk.txt files). So now evidently, I should have set the router up to forward port 5500? If so, since the router won't allow forwarding the same port to more than one machine, and the viewer doesn't seem to have a way to select what port it will use, am I out of luck with what I'm trying to set up?
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Port forwarding confusion

Post by redge »

add 2 line of helpdesk

[HOST]
for reach pc1
-connect tartempion.dyndns.org:5500 -noregistry

[HOST]
for reach pc2
-connect tartempion.dyndns.org:5501 -noregistry


and viewers

pc1
vncviewer -listen 5500

pc2
vncviewer -listen 5501

forward port on your router where there pc1 and pc2 (router LAN of viewers side)
Last edited by redge on 2007-09-22 21:24, 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
Riverglen
Posts: 6
Joined: 2007-09-22 15:40
Location: Liverpool, NY

Re: Port forwarding confusion

Post by Riverglen »

Thanks for the reply.

I don't fully understand your suggestion. In particular, what is tartempion.dydns.org? I thought I should use the IP address that is currently assigned to my router by the ISP. I do understand that this may change and that I would need to keep my helpdesk.txt file up to date accordingly. Does your approach avoid this problem somehow?

Evidently the answer to the viewer side is to just start the viewer with a unique, computer specific -listen:port address and make sure that the router forwards the corresponding ports to the right computers?
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Port forwarding confusion

Post by redge »

yes

tartempion.dyndns.org is whatever you prefer, just a exemple of FQDN address

FQDN = Fully Qualified Domain Name like riverglen.dynamicdns.org but must exist something like that, you can replace as well by public static ip address
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply