Getting past *two* NAT routers
vnclist "at" kexel.net
Sun Jan 9 02:58:01 2005
I am uncertain of exactly what your network diagram would be. I will
assume 2 nics in the Mac. One going to the modem (USB?) and one to your
lan. In that case, the DHCP servers are not a problem for each serves a
Not knowing all the details of OS X Internet Sharing, I guess its a NAT
configuration. Your big problem is that you are a running a NAT network
behind another NAT network. You will need port forwards on both the router
(to the Mac) and the Mac to each machine you wish to connect to. Use port
5900 to the Mac.
Normally for my clients I just connect to one machine via port forwarding
or SSH port forwarding and then use a vncviewer on that machine to get to
the rest of the lan. The double NAT can be difficult, if you do not have
control of the router.
If, you wish to have open ports for each machine directly, then you
continue with 5901 to the Mac and forward that to Machine A, 5902 to
Machine B and so on.
I hope this helps. I know more of Linux than OS X, I run Yellow Dog on a
G4. Anyway, good luck!
> My DSL is served by PPPoE; the DSL modem is a mini-router allowing only
> one (192.168.1.2) address. I think I understand the port assignments when
> a single router serves multiple boxes. But I serve my LAN via a second
> DHCP server, the Mac OS X box itself (Internet Sharing). So not only the
> modem but also the main box is both a LAN client and a DHCP server; it
> doesn't have a "real" IP address to begin with, and in fact is known by
> two (the PPPoE modem is given the real one). What will get me to the other
> machines on the LAN? Manual port setting?
> VNC-List mailing list
> VNC-List "at" realvnc.com
> To remove yourself from the list visit: