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

How to use two vnc ports to one IP

Single Click discussions / bugs
Post Reply
darkking
Posts: 5
Joined: 2008-05-20 11:07

How to use two vnc ports to one IP

Post by darkking »

Hi,
I have a situation, where a user has a desktop pc and a laptop.
And I have forwarded port 5504 to his desktop pc and 5505 to laptop.
How can I describe this in helpdesk.txt
I don't want to type his name twice.
Like this:

[HOST]
Paul Külmoja-desktop pc (Tartu)
-connect WAN:5504 -noregistry

[HOST]
Paul Külmoja-laptop (Tartu)
-connect WAN:5505 -noregistry

Hoping to solve this situation somehow.
User avatar
JDaus
Friend of UVNC
Friend of UVNC
Posts: 537
Joined: 2007-03-17 11:00
Location: Sydney, Australia
Contact:

Re: How to use two vnc ports to one IP

Post by JDaus »

if the person is resonably computer literate, i would install a SSH daemon on his dektop PC, and when he uses his laptop, connect to the sshd, and create a 'REMOTE' tunnel from 5504:localhost:5504 ... then start the listener on laptop to port 5504

when the user connects to the SSHD, it opens a listening port on 5504 (providing the port isn't in use by the listening vncviewer) and forwards to the laptop

for the specifics on tunnel the setup, look at the putty manual.

hope this helps
ask a silly question and remain a fool for 5 minutes...
don't ask, and remain a fool for life - JDaus 2003

without imperfections, neither you nor i would exist - Steven Hawkins
__
JD
SCPrompt - OpenSource Free Remote Screen\Desktop Sharing Solution
SecureTech.com.au
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: How to use two vnc ports to one IP

Post by redge »

tartu is the "helper" or the the person who need remote support ?

if the person who need help, single host is enough because is an outgoing connection, so you won't need to worry from where he start their SC from laptop or workstation.
vnviewer must listen before start SC
vncviewer -listen 5504

but if for reach the technician aka helper, who have 2 computers (laptop + workstation)
yes, you need open 2 port 5504 and 5505 only at the router of the technician (not opposite side)

vnviewer must listen before start SC
vncviewer -listen 5504
vncviewer -listen 5505
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply