From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.54)
	id 1FRJ5e-00075M-Ch
	for garchives@archives.gentoo.org; Thu, 06 Apr 2006 01:15:14 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k361EigZ031316;
	Thu, 6 Apr 2006 01:14:44 GMT
Received: from ms-smtp-02.tampabay.rr.com (ms-smtp-02.tampabay.rr.com [65.32.5.132])
	by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k361AUhq009981
	for <gentoo-user@lists.gentoo.org>; Thu, 6 Apr 2006 01:10:31 GMT
Received: from keelie.localdomain (151.179.121.70.cfl.res.rr.com [70.121.179.151])
	by ms-smtp-02.tampabay.rr.com (8.13.4/8.13.4) with ESMTP id k361ATHa015531
	for <gentoo-user@lists.gentoo.org>; Wed, 5 Apr 2006 21:10:30 -0400 (EDT)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by keelie.localdomain (Postfix) with ESMTP id 7A48415D9A7
	for <gentoo-user@lists.gentoo.org>; Wed,  5 Apr 2006 21:10:29 -0400 (EDT)
Received: from 127.0.0.1
        (SquirrelMail authenticated user jim)
        by localhost with HTTP;
        Wed, 5 Apr 2006 21:10:29 -0400 (EDT)
Message-ID: <50864.127.0.0.1.1144285829.squirrel@localhost>
In-Reply-To: <200604060251.02080.bo.andresen@gmail.com>
References: <55176.12.16.33.89.1144253296.squirrel@keeliegirl.dyndns.org>
    <200604060142.40199.bo.andresen@gmail.com>
    <51678.127.0.0.1.1144283261.squirrel@localhost>
    <200604060251.02080.bo.andresen@gmail.com>
Date: Wed, 5 Apr 2006 21:10:29 -0400 (EDT)
Subject: Re: [gentoo-user]  Re: usenet and web mail
From: "JimD" <Jim@keeliegirl.dyndns.org>
To: gentoo-user@lists.gentoo.org
User-Agent: SquirrelMail/1.5.1
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: Symantec AntiVirus Scan Engine
X-Archives-Salt: ed034609-2335-48f0-b83b-26cbfb204a4f
X-Archives-Hash: 2c969e48e0a2e4e8f426c502fe3999bc

On Wed, April 5, 2006 8:50 pm, Bo Andresen wrote:
> On Thursday 06 April 2006 02:27, JimD wrote:
>
> If you can connect to home with a command similar to:
>
>
> # ssh -p 443 user@home.tld

Yup, the above works fine from work.

> And you wish to connect to newsserver.com at port 119 (news) and
> mailserver.com at port 143 (imap) which can be reached from home then you can
> create tunnels to those by:
>
> # ssh -p 443 user@home -L 119:newsserver.com:119 -L 143:mailserver.com:143

Will ssh tunnel everything over the one connection?

newsserver.com and mailserver.com are both really localhost to my HOME machine since I
am running those services.

So I take it the command below will connect from WORK to HOME and let me get to HOME's
ports 119 and 143 from WORK's port 119 and 143?

ssh -p 443 user@home -L 119:localhost:119 -L 143:localhost:143

> After that you just direct your mail and news clients towards localhost as the
> servername. One way of doing that is to add:

I always understood this part.  I just couldn't get the -L stuff down.

> Read man ssh for more info on ssh local port forwarding.

Will do.

> Bo Andresen

Thanks,

Jim
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I'm a geek, but I don't get it. 36-24-36 = -24. What's the significance?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Florida, USA, Earth, Solar System, Milky Way

-- 
gentoo-user@gentoo.org mailing list