Gnus development mailing list
 help / color / mirror / Atom feed
From: Karl Kleinpaste <karl@justresearch.com>
Subject: Re: That darned firewall..
Date: 26 May 1999 14:39:01 -0400	[thread overview]
Message-ID: <vxkpv3ny8u2.fsf@beaver.jprc.com> (raw)
In-Reply-To: Andy Eskilsson's message of "26 May 1999 20:23:25 +0200"

This is how I get to remote systems' NNTP ports:

ssh -g -q -f -x -L7878:NewsServer:119 OtherHost sleep 100000000

See man page for details on switches.

This means: ssh will create port 7878 on the local machine.  When
something connects to that, ssh will tunnel to OtherHost, whose
responding sshd will open NewsServer's port 119.  The sleep(1) just
keeps the tunnel alive forever.

Now set your access method to localhost port 7878 and you're done.

You just have to remember to initialize the tunnel when your own
machine boots.

Beware of -g if you don't want your tunnel accessible to the universe.


  reply	other threads:[~1999-05-26 18:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-26 18:23 Andy Eskilsson
1999-05-26 18:39 ` Karl Kleinpaste [this message]
1999-05-26 19:17   ` Stainless Steel Rat
1999-05-27 14:48     ` Karl Kleinpaste
1999-05-28 18:04     ` Brian Edmonds
1999-05-28 20:19       ` Stainless Steel Rat
1999-05-26 19:12 ` Stainless Steel Rat
1999-05-26 19:52 ` Andy Eskilsson
1999-05-26 20:18   ` Kai.Grossjohann
1999-05-26 21:30   ` David S. Goldberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vxkpv3ny8u2.fsf@beaver.jprc.com \
    --to=karl@justresearch.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).