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

How to connect through Routers??

Post Reply
MikeM

How to connect through Routers??

Post by MikeM »

I have a cable modem and wireless router. My friend has the same. Each Router does DHCP assignments for the local network, and spoofs the WAN IP assigned by the Internet Provider (Comcast in this case).

How do you configure UltraVNC to handle this? Of course, I cannot connect to his Internal IP (192.168.n.n) as it is hidden from the WAN, and when I try to go to the IP Assigned to the WAN side of the router on his end, VNC says, not found.

Any help appreciated!!
NightRyder
80
80
Posts: 157
Joined: 2004-08-15 08:33
Location: WA, USA

Post by NightRyder »

you will need to have the router forward whatever port you are using (5900 is default i think) to his computer. then connect to the internet ip, and the router will forward you to him.

btw.. since this in in 'Feature requests', whats the requested feature?
using latest code.... always... except when im not.
mmays
Posts: 2
Joined: 2004-09-29 13:33
Location: Michigan, USA
Contact:

Newbie posted to the wrong topic.

Post by mmays »

No new feature, I inadvertantly posted to the wrong topic. Sorry, and THANKS for the info.
NightRyder wrote:you will need to have the router forward whatever port you are using (5900 is default i think) to his computer. then connect to the internet ip, and the router will forward you to him.

btw.. since this in in 'Feature requests', whats the requested feature?
Glena

Router access

Post by Glena »

First, by default VNC Uses port 5900 and 5800 when using the java browser version. (The java app still needs port 5900).

I would highly recommend configuring vnc to use some other port for this as I'm sure many hackers scan for port 5900 and try to attact it. I would also recommend using the encryption module when going over the internet.

You will need to setup port forwarding on you router to forward port 5900 (or whatever port you chose) to your internal pc running vnc.

As for the dynamic nature your internet address, there are in most routers a feture for setting up dynamic dns. This is where you register with one of the dynamic dns server services and every time you get a new IP from your ISP the router send tehm the new IP. See you router manuals for more detail.

-Glen
mmays
Posts: 2
Joined: 2004-09-29 13:33
Location: Michigan, USA
Contact:

Post by mmays »

O.K., I have configured both routers to forward 5800-5900, and associated the internal 192.168.xxx.xxx to it. I then attempted to connect using the WAN IP of the other side as the destination IP using my viewer, with no luck.

Do I need to use the "Proxy" settings in the viewer to make the connection work? (use the WAN IP as the proxy address, and their internal IP as the destination?)
NightRyder
80
80
Posts: 157
Joined: 2004-08-15 08:33
Location: WA, USA

Post by NightRyder »

Uh.. maybe? I think it should work as you tried... :/
Are you sure the router is forwarding the ports correctly?
Other then that, I have no ideas.
using latest code.... always... except when im not.
Post Reply