help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Working example needed to extend tor-service with file-like object


From: Ludovic Courtès
Subject: Re: Working example needed to extend tor-service with file-like object
Date: Wed, 02 Nov 2016 15:35:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hi!

ng0 <address@hidden> 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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]