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

How2? Connect VNC through 2 firewalls, Internet in between.

Post Reply
TimeTraveller
Posts: 2
Joined: 2004-09-03 14:50
Location: Victoria.bc.ca

How2? Connect VNC through 2 firewalls, Internet in between.

Post by TimeTraveller »

I need to figure out, in general terms, since it's an increasingly common situation, how to connect my viewer on private network A to my server on Private network B with the internet in between.
Before I put the firewall on network B, I could connect to the server no problem. Now, I need to know how to configure firewall on network B to make a connection again.

Also when I put the address in the connect dialog box, do I use the WAN address of the router on Network B, and then it says "Ah Hah!. Someone making a connection on Port 5900 must want to talk to the server..."?

What I have done is make the public port and the private port on Network B's firewall/router 5900, and I've made the target a virtual server with port 5900 open. If I'm missing the boat totally on this, let me know.
every thing loose eventually rolls down to the west coast
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6883
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

A)
If you don't set the incoming port manual, a firewall ( like XP sP2) does not detect the port and block it.

Outgoing ports are detected.
Viewer 5900 (Firewall detect port and ask permission)
-->Server 5900. By default the Firewall block the incoming port 5900.
No questions asked by the firewall, you need to manual enable
that port.
B)
Nat/router need to forward port 5900 to the server running
the winvnc

Hopes this help.
Post Reply