Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Gernot Hassenpflug <gernot@nict.go.jp>
To: info-gnus-english@gnu.org
Subject: Re: news server with socks proxy howto?
Date: Sat, 09 Jun 2007 10:32:00 +0900	[thread overview]
Message-ID: <87tzthhq0f.fsf@nict.go.jp> (raw)
In-Reply-To: <l8vedy8rad.fsf@clpc78.comlab>

poppyer <poppyer@gmail.com> writes:

> Katsumi Yamaoka <yamaoka@jpl.org> writes:
>
>> >>>>> In <wmy7iwt47b.fsf@clpc78.comlab> poppyer wrote:
>> 
>> >         I would like to use gnus to connect to two news servers. In
>> > particular, say, I would like to connect to server "news1.org" directly,
>> > and connect to "news2.org" by socks proxy "proxy.net". Any idea how to
>> > set it up? Thanks
>> 
>> If you have an account in an intermediate host machine outside
>> of the proxy server and you can access it using ssh or telnet
>> through the proxy, the nntp-via-* methods are what you look for.
>> 
>> (info "(gnus)Example Methods") <-- type `C-x C-e' here.
>
> -- 

/repaired top posting/

> thanks, Katsumi
> but it seems that only nntp-via-telnet/rlogin are valid?
> I intend to use nntp-via-ssh is possible.
>

Not true, see the manual. I admit that I could not debug this when it
did not work at times (after some updates on my previous system) and
often used a separate forwarded port ssh connection and then a
localhost NNTP access. I suspect it works fine now.

>From nntp.el (see manual for example and variable options):

,----
| (defvoo nntp-via-rlogin-command "rsh"
|   "*Rlogin command used to connect to an intermediate host.
| This command is used by the methods `nntp-open-via-rlogin-and-telnet'
| and `nntp-open-via-rlogin-and-netcat'.  The default is \"rsh\", but \"ssh\"
| is a popular alternative.")
`----

Gernot
-- 
BOFH excuse #163:

no "any" key on keyboard

  reply	other threads:[~2007-06-09  1:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-07 11:05 poppyer
2007-06-08  0:34 ` Gernot Hassenpflug
2007-06-08  1:46   ` poppyer
2007-06-08  4:06 ` Katsumi Yamaoka
2007-06-08 14:16   ` poppyer
2007-06-09  1:32     ` Gernot Hassenpflug [this message]
2007-06-09  7:30       ` poppyer
2007-06-09 22:53         ` Gernot Hassenpflug

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=87tzthhq0f.fsf@nict.go.jp \
    --to=gernot@nict.go.jp \
    --cc=info-gnus-english@gnu.org \
    /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).