From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83749 Path: news.gmane.org!not-for-mail From: "Herbert J. Skuhra" Newsgroups: gmane.emacs.gnus.general Subject: Re: Coaching to ssh port forward an NNTP connection Date: Tue, 27 Aug 2013 19:13:17 +0200 Message-ID: <87r4dfxdjm.wl%hskuhra@eumx.net> References: <7kzjs819br.fsf@callisto.jtan.com> <87a9k3ha0j.fsf@mmer.org> <877gf7m5q8.fsf@newsguy.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1377623641 3328 80.91.229.3 (27 Aug 2013 17:14:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Aug 2013 17:14:01 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32005@lists.math.uh.edu Tue Aug 27 19:14:04 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 1VEMqB-0004YR-Kv for ding-account@gmane.org; Tue, 27 Aug 2013 19:14:03 +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 1VEMq3-00011C-3i; Tue, 27 Aug 2013 12:13:55 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1VEMq1-00010t-44 for ding@lists.math.uh.edu; Tue, 27 Aug 2013 12:13:53 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1VEMpz-00060x-E9 for ding@lists.math.uh.edu; Tue, 27 Aug 2013 12:13:52 -0500 Original-Received: from eumx.net ([91.82.101.43] helo=owm.eumx.net) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1VEMpx-0001ty-8n for ding@gnus.org; Tue, 27 Aug 2013 19:13:49 +0200 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eumx.net; h=date :message-id:from:to:subject:in-reply-to:references:mime-version :content-type; s=default; bh=0Ws8GfUYB3F6iZl5JBBglItKjcc=; b=Eqa DeZpmwWP+eZAgpSqg6aNbfTx3mHDMtOqjfURwV6Fre1vFPkXfqspr4qUaxC9OsjK IuGYzazZEUsETWZUP3Ps4vVm8Vu2AD7GuAm7S9dIhSy+NRUVEP2Gl0B8BFA30s/R 5JgRQgsuFaObBsBjnVoG+hSAIFKGjS9tBQPKjmr8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=eumx.net; h=date:message-id :from:to:subject:in-reply-to:references:mime-version :content-type; q=dns; s=default; b=KDpLZV/mRPrYwYd/NDx4bq4z+VIi0 JY7Rw2leKlN5e/xqyAeJduLS9bnwlli1ve+s6vYT0d91SzJ9EsHp5PizmsZm/YEt lKDfIN3eXUjSzPI0b1MSqM0w3Cb1bOOQt5Nc87NoUvNgbTns30zgM4UYVRiqYaFY O4qtezOz2fYtoM= In-Reply-To: <877gf7m5q8.fsf@newsguy.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/24.3.50 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-Spam-Score: -4.5 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83749 Archived-At: On Tue, 27 Aug 2013 12:57:35 -0400 Harry Putnam wrote: > 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 % man ssh Have you tried? > Do any of the participating hosts require root to do that? Yes, e.g: if you try to listen to a privileged port. -- Herbert