From: ng0 <ng0@we.make.ritual.n0.is>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: help-guix@gnu.org
Subject: Re: Working example needed to extend tor-service with file-like object
Date: Wed, 02 Nov 2016 15:31:28 +0000 [thread overview]
Message-ID: <87bmxxvqy7.fsf@we.make.ritual.n0.is> (raw)
In-Reply-To: <87r36ukkzg.fsf@gnu.org> ("Ludovic Courtès"'s message of "Wed, 02 Nov 2016 15:35:47 +0100")
Hi,
ludo@gnu.org (Ludovic Courtès) writes:
> 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:
Thanks, but there's a misunderstanding in terms what I needed
help with I think.
Our default config (torrc) is not so pleasant (well, it's
intentional minimal). I have torrc values, unrelated to
hidden-service, I need to add. Like, exclude certain countries
etc. For this I want to understand how a file-like object would
look like in the context of (services) in config.scm, so I can be
sure I apply the correct thing.
> (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 15:32 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
2016-11-02 15:31 ` ng0 [this message]
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=87bmxxvqy7.fsf@we.make.ritual.n0.is \
--to=ng0@we.make.ritual.n0.is \
--cc=help-guix@gnu.org \
--cc=ludo@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 read-only IMAP folder(s) and NNTP newsgroup(s).