VNC Server Behind NAT
Wed Sep 3 00:56:01 2003
> I apologize in advance if this has been asked frequently on this list, but
> could not find a way to search the archives and therefore....
It's not too hard:
> 1. One Masq Server NATing a Win2k box to the outside world and vice versa
> 2. Win2k box runs VNC server
> 3. I wish to access this VNC server from outside my network.
> I am confused about how to forward the 59* and 58* ports between the Linux
> box and Win2k box. Do I need to change iptables?
I assume the "Masq Server" is the Linux machine?
VNC is no different than forwarding anything else.
> What would be the
> simplest way of accessing this server from outside? I do not want to use
> the viewer in the listening mode i.e. using the SOCKS thing.
There is no "SOCKS thing" in VNC. Depending on your setup it might be
easier to set up SSH on the Linux machine and tunnel VNC over it.