Two VNC Servers Behind a NAT
Scott C. Best
sbest "at" best.com
Tue Aug 3 16:04:00 2004
Heya. From my perspective, using the Viewer client to
specify which Display number to connect to is very much the
same thing as using the client to specifiy the port to connect
to. After all, port number = display number + 5900.
Have a look at this FAQ here:
It details an example of connecting to 5 PC's that are
all behind the same NAT'ing router. Hope it helps!
> COnsider a scenario in which there are two VNC Servers
> behind a common Router with NAT enabled. Now if an
> External Guy tries to connect, to any of these PCs,
> then I guess he can connect to them if they are having
> different Display Numbers ( This is because they would
> then listen on different ports).
> Is there any other way of doing Port Forwarding ? Can
> the client specify the port on which the VNC Server is
> running ?
> Further In the case of Windows, there is no Diaply
> Number ( We all assume it to be 0), How would the
> router know which of the servers to forward its
> request to ?