[KLUG Members] remote laptop over internet?

Bryan J. Smith members@kalamazoolinux.org
Mon, 23 Jul 2001 19:27:41 -0400


"Michael W. Holdeman" wrote:
> So my question, can I use ssh, or something like that to connect to the
> server and mount the server nfs drive via the laptop. or does someone else
> have a better idea?

You _can_ tunnel NFS over SSH.  You must forward a couple ports,
including portmaper (111) and NFS (2049).  Depending on your
configuration, there may be other ports.

> I know nothing about IP tunneling but I think this is possible because the
> Server dialup is up most of the time.

# ssh -L 111:server:111 -L 2049:server:2049 firewall_IP

Note:  You will need to use the ssh client as root to setup the port
forwarding since ports <=1024 are used.  "server" is the internal
server name as resolved/known by the internal SSH server you are
connected to (which your firewall forwards SSH, port 22, packets
to).

> But how do I find teh server since it internally is a 192.168... IP,
> and externally dynamic?

There are several ways to approach this with dynamic DNS.  Again,
are you forwarding SSH (22) connections to an internal box?

-- TheBS

-- 
Bryan "TheBS" Smith  mailto:b.j.smith@ieee.org  chat:thebs413
Absolute Value Systems, Inc.        http://www.linux-wlan.org
SmithConcepts, Inc.              http://www.SmithConcepts.com