Return-Path: <marc@horowitz-m1.mit.edu>
Received: from pacific-carrier-annex.mit.edu by po11.mit.edu (8.9.2/4.7) id SAA27897; Fri, 14 Jun 2002 18:56:37 -0400 (EDT)
Received: from horowitz-m1.mit.edu (horowitz.ne.client2.attbi.com [66.30.1.218])
	by pacific-carrier-annex.mit.edu (8.9.2/8.9.2) with ESMTP id SAA07729;
	Fri, 14 Jun 2002 18:55:49 -0400 (EDT)
Received: (from marc@localhost)
	by horowitz-m1.mit.edu (8.11.6/8.11.6) id g5EMtmH27988;
	Fri, 14 Jun 2002 18:55:48 -0400 (EDT)
Sender: marc@horowitz-m1.mit.edu
From: Marc Horowitz <marc@MIT.EDU>
To: Nicholas Altenbernd <altenb@MIT.EDU>
Cc: sipb@MIT.EDU
Subject: Re: DSL to News
References: <5.0.2.1.2.20020614174751.00a4a160@po12.mit.edu>
Date: 14 Jun 2002 18:55:48 -0400
In-Reply-To: Nicholas Altenbernd's message of "Fri, 14 Jun 2002 18:15:53 -0400"
Message-ID: <t538z5hh3m3.fsf@horowitz-m1.mit.edu>
Lines: 88
User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Unlike Rich, I'm going to assume you are trying to tunnel nntp over
ssh.  Getting your host added to the nntp server is not something
which is generally supported.

Nicholas Altenbernd <altenb@MIT.EDU> writes:

>> Hi.  I'm trying to get set up to use my Verizon DSL connection to
>> access the newsgroups at MIT.  Someone has been talking me through it
>> as best he can without a windows machine in front of him, and we
>> almost made it.  He suggested that I email you to get the fine details
>> worked out.
>> 
>> Here's what I have so far:
>> 
>> I have SecureCRT3.4 downloaded and set up.  I can get into
>> Athena.dialup.mit.edu but not yet beyond.
>> 
>> Settings:
>> 
>> Right-click on my "Newsgroups" and here are the Properties:
>> Connection
>>          Name: news.mit.edu
>>          Protocol: SSH2
>>          Hostname: athena.dialup.mit.edu
>>          Port: 22 (Firewall connect not checked)
>>          Username: altenb
>>          Authentication: primary: Password; Secondary: None

This looks ok, but I wouldn't use that name, since you're not logging
into news.mit.edu.

>> [Login scripts: nothing; SSH2: nothing changed
>> Port Forwarding
>>          Name: newsport
>>          Local: Port: 22
>>          Remote
>>                  check for "Destination host is different..."
>>                  Hostname: news.mit.edu
>>                  Port: 119
>>          Application: nothing

This is almost right.  You don't want to use port 22 as the local
port; you want to use something else in case you ever run an sshd
locally.  You can use 119, which is the nntp port, or you can use an
arbitrary port number.  Since your windows box is unlikely ever to run
a news server, I'll assume you use port 119.

>> Remote [under "Port Forwarding" in left panel"]
>>          Name: gonetonews
>>          Remote: Port: 119
>>          Local: check in "Destination host is different..."
>>          Hostname: news.mit.edu
>>          Port: 119

You don't want this at all.  This would be useful if you wanted to run
a service of some sort on your local network, and have people on the
remote network connect back to it, which is not what you're doing now.

>> X11: Forward X11 packets not checked
>> 
>> I think that's everything that needs to be set?
>> 
>> I start the DSL connection, start SecureCRT and connect, and get an
>> Athena prompt that knows who I am.
>> I then open Netscape and Communicator and Newsgroups.  The Verizon
>> newsgroups and Cakewalk newsgroups and Corel newsgroups work fine,
>> even when SecureCRT is running (they also work fine when Secure CRT is
>> not running).  When I click on a newsgroup through "news" or
>> "news.mit.edu" I get the following error message:
>> 
>> Error! News server responded: senator-bedfellow.mit.edu: Access denied
>> to your node - usenet@mit.edu
>> 
>> Looks like I'm getting in, but I'm not using the right path or
>> something? I can still access these newsgroups through my dialup modem.

The error message you got means you tried connecting from a host which
is not at MIT.  This is what I would expect, since you specified the
news server's hostname directly.  What you want to do is use the
tunnel, by giving your newsreader the address of the local end of the
tunnel you've created.  You should be able to do this by specifying
"localhost" as the news server after you've run SecureCRT with the
above settings.

I should mention that I have not tested this setup, but in principle,
it should work.

                Marc
