From: ludo@gnu.org (Ludovic Courtès)
To: ng0 <ng0@we.make.ritual.n0.is>
Cc: help-guix@gnu.org
Subject: Re: Working example needed to extend tor-service with file-like object
Date: Wed, 02 Nov 2016 15:35:47 +0100 [thread overview]
Message-ID: <87r36ukkzg.fsf@gnu.org> (raw)
In-Reply-To: <877f8p7o8m.fsf@we.make.ritual.n0.is> (ng0@we.make.ritual.n0.is's message of "Sun, 30 Oct 2016 17:14:49 +0000")
Hi!
ng0 <ng0@we.make.ritual.n0.is> skribis:
> Can someone give a working example for the tor-service?
> I volunteer to improve the documentation if I can get something
> out of this.
I have something like this:
(services (cons* (lsh-service #:root-login? #t
#:interfaces '("127.0.0.1"))
(tor-hidden-service "ssh"
'((22 "127.0.0.1:22")
(80 "127.0.0.1:80")))
…))
That makes a hidden service to talk to my SSH and HTTP services.
HTH!
Ludo’.
next prev parent reply other threads:[~2016-11-02 14:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-30 17:14 Working example needed to extend tor-service with file-like object ng0
2016-11-02 14:35 ` Ludovic Courtès [this message]
2016-11-02 15:31 ` ng0
2016-11-02 16:18 ` Ludovic Courtès
2016-11-02 20:38 ` ng0
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r36ukkzg.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=help-guix@gnu.org \
--cc=ng0@we.make.ritual.n0.is \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).