From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83748 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: Coaching to ssh port forward an NNTP connection Date: Tue, 27 Aug 2013 12:57:35 -0400 Organization: Still searching... Message-ID: <877gf7m5q8.fsf@newsguy.com> References: <7kzjs819br.fsf@callisto.jtan.com> <87a9k3ha0j.fsf@mmer.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1377622899 27178 80.91.229.3 (27 Aug 2013 17:01:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Aug 2013 17:01:39 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32004@lists.math.uh.edu Tue Aug 27 19:01:41 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VEMe7-0003fQ-DI for ding-account@gmane.org; Tue, 27 Aug 2013 19:01:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1VEMdU-0000vs-SE; Tue, 27 Aug 2013 12:00:56 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1VEMdT-0000vh-Ja for ding@lists.math.uh.edu; Tue, 27 Aug 2013 12:00:55 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1VEMdR-0001Uy-B1 for ding@lists.math.uh.edu; Tue, 27 Aug 2013 12:00:54 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1VEMdP-0001be-DU for ding@gnus.org; Tue, 27 Aug 2013 19:00:51 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VEMdO-00036E-Bm for ding@gnus.org; Tue, 27 Aug 2013 19:00:50 +0200 Original-Received: from z65-50-57-227.ips.direcpath.com ([65.50.57.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Aug 2013 19:00:50 +0200 Original-Received: from reader by z65-50-57-227.ips.direcpath.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Aug 2013 19:00:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: z65-50-57-227.ips.direcpath.com User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:A4VExQxlZfSgu4HTk/YBMKzruXY= X-Spam-Score: -4.4 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83748 Archived-At: Abramov Aleksey writes: [...] >> Trouble is I cannot remember the first thing about how it was done or >> find any notes I may have kept... this has been 10 or more yrs ago. >> >> Can anyone give an outline of how something like that might be done? >> > > To create an ssh tunnel is pretty easy. > > # ssh -ANf -L5119:news.gmane.org:119 router.example.com > > # telnet localhost 5119 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 200 news.gmane.org InterNetNews NNRP server INN 2.5.1 ready (posting ok) > Connection closed by foreign host. > > There could be only one problem, TCP forwarding shouldn't be disabled in > sshd which you are connecting to. > > In my case the interesting thing is that, there is a http proxy before > router. =) In the command line you show above, what role does router.example.com play? Are -L and router.example.com the same host Do any of the participating hosts require root to do that?