Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2006 13:22:47 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Drew <cotharyus@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: ssh tunnel - remote access through nat
Message-ID:  <44C65367.7010701@mac.com>
In-Reply-To: <715841970607251003o1d358d3dl894291f50a0b8053@mail.gmail.com>
References:  <715841970607251003o1d358d3dl894291f50a0b8053@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Drew wrote:
> Hi,
> I've got a box that's nat'd out to the internet. It is occassionally
> neccessary for me to access this box remotely. The obvious answer is:
> 
> ssh -R 7777:localhost:22 remote.box cat
> 
> run from the nat'd box where remote box is a place I pretty much always 
> have access too from anywhere, anytime.

Um.  Why not forward an open port like 7777 from whatever is doing NAT for 
this box to port 22 on it?  If the NAT gateway is being assigned a dynamic IP, 
use dyndns.org & and update script...

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44C65367.7010701>