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

Confused about routing

Post Reply
ec734

Confused about routing

Post by ec734 »

Hi,
I've been using VNC for years and just found Ultravnc and love the fact I can finally do file transfers.

I'm setting up a new network at the office and want to connect to any workstation from home, but I'm confused about routing. I have loaded Ultravnc on several workstations and works fine in the office using PC names or IP address(DCHP is being used, so IPs are dynamic)

I have a static ip on a Netopia DSL router, that I can ping from home. Here's where I'm stuck. If I try to connect to {public IP}, how does the router know which workstation I want to connect to? Is this where I have to use ports? Do I connect to {public IP/port} and then configure the router to determine which workstation by the port. In that case, how do I set up a path in the router which links the port number to a dynamic IP.

I'm probably dancing around an easy solution, but I'm stumped.

Any help appreciated

Thanks
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

The good solution is installing repeater as mode I at your office so you need only forward 1 ports even you have a lots of computers at your office
http://prdownloads.sourceforge.net/ultr ... p?download

let all vncserver default port 5900

only at your office
DSL Netopia router ---> repeater internal redirect --> port vncserver
port static public ip --> port hostname_repeater --> port vncserver
5900 static public ip --> 5901 hostname_repeater --> 5900 vncserver


schematic (depend of upstream bandwith of office)

one client can control many different vncserver as same time
viewerA --> home/NAT router --> Internet --> office/NAT router -- repeater ---> vncserverA
viewerA --> home/NAT router --> Internet --> office/NAT router -- repeater ---> vncserverB
viewerA --> home/NAT router --> Internet --> office/NAT router -- repeater ---> vncserverC

or/and

every vncviewer remote control an different vncserver
viewerA --> home/NAT router --> Internet --> office/NAT router -- repeater ---> vncserverA
viewerB --> home/NAT router --> Internet --> office/NAT router -- repeater ---> vncserverB
viewerC --> home/NAT router --> Internet --> office/NAT router -- repeater ---> vncserverC

or/and

all viewers watch same content !
viewerA --> home/NAT router --> Internet --> office/NAT router -- repeater ---> vncserverA
viewerB --> home/NAT router --> Internet --> office/NAT router -- repeater ---> vncserverA
viewerC --> home/NAT router --> Internet --> office/NAT router -- repeater ---> vncserverA


just remember your static public IP address for reach your office/NAT router then office/NAT router redirect to your internal hostname address of your repeater and repeater redirect your request to the hostname of your vncserver your requested from viewer

Image


read UltraVNC repeater mode I
http://doc.uvnc.net/addons/repeater.html
Last edited by redge on 2005-09-16 00:03, 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
sbest
20
20
Posts: 49
Joined: 2005-06-12 01:51
Contact:

Post by sbest »

EC:

Heya. At the risk of self-promoting, EchoVNC is a much easier solution. Just install it alongside your target VNC servers, and use it to login to a common echoServer. Login with names like "PC-1", "PC-2", "PC-99", etc. Then when you login to the same echoServer from anywhere else, you can easily connect to "PC-1", "PC-2", etc, regardless of IP addresses and without any port-forwarding.

Hope it helps!

-Scott
Post Reply