Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Gain remote access to Macs behind AirPort Base Stations' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Gain remote access to Macs behind AirPort Base Stations
Authored by: diamondsw on May 20, '03 10:54:59AM

Well, yes, that's how you use port mapping on any router. What makes this more interesting is that you can use dynamic DNS instead of a static IP, and then you can tunnel through SSH to any number of services on your LAN. Right now I have SSH open to my home computer (which has a dynamic IP and a wireless router between the cable modem and computer), and I have a VNC session tunneled through it. Voila, instant secure and free "terminal server".



[ Reply to This | # ]
more please!
Authored by: SOX on May 20, '03 11:45:28AM

Hey would you please elaborate this in to a full hint.

how exactly do tunnel from the outside in to a dynamically assinged IP when using an airport base station?



[ Reply to This | # ]
more please!
Authored by: chko on May 20, '03 03:03:59PM
For info on dynamic IP naming see this hint.
To ssh into your computer (assuming that you've punched a hole in your Airport firewall as this hint describes) and use VNC you can type the following:

ssh -C -L 5901:localhost:5900 username@hostname

-C (optional) enables SSH compression and can allow better throughput

-L local port forwarding. In this case if you try to access localhost on port 5901, it will be forwarded to port 5900 on the remote computer.

Once you have logged into your computer (and assuming you have a VNC server started. See this hint.) just run a VNC viewer and connect to "localhost:5901"

You can also see the VNC page for doing this here.

[ Reply to This | # ]
more please!
Authored by: rbenezra on May 21, '03 05:11:09PM

I'm trying to run all of my apps through the SSH tunnel port 22. I can run most apps through the tunnel (like TB2, filesharing, etc) and then connecting to localhost but the tunnel doesn't seem to pass UDP 3283 for ARD. Any suggestions?



[ Reply to This | # ]
more please!
Authored by: legacyb4 on May 23, '03 02:43:33AM

SSH only handles TCP traffic, not UDP.



[ Reply to This | # ]