From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Working example needed to extend tor-service with file-like object Date: Wed, 02 Nov 2016 15:35:47 +0100 Message-ID: <87r36ukkzg.fsf@gnu.org> References: <877f8p7o8m.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1wdw-0008HH-A6 for help-guix@gnu.org; Wed, 02 Nov 2016 10:35:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1wdr-0006OP-Bj for help-guix@gnu.org; Wed, 02 Nov 2016 10:35:56 -0400 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") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: ng0 Cc: help-guix@gnu.org Hi! ng0 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"))) =E2=80=A6)) That makes a hidden service to talk to my SSH and HTTP services. HTH! Ludo=E2=80=99.