From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Tor hidden services Date: Sat, 28 Nov 2015 15:02:15 +0100 Message-ID: <87a8pyw7bs.fsf@gnu.org> References: <87mvtzvvrh.fsf@gnu.org> 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]:37336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2g4z-0003ed-QD for guix-devel@gnu.org; Sat, 28 Nov 2015 09:02:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2g4w-0003Cq-L5 for guix-devel@gnu.org; Sat, 28 Nov 2015 09:02:21 -0500 In-Reply-To: (David Thompson's message of "Fri, 27 Nov 2015 19:17:32 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: "Thompson, David" Cc: guix-devel "Thompson, David" skribis: > On Fri, Nov 27, 2015 at 6:59 PM, Ludovic Court=C3=A8s wrot= e: >> Commit adds =E2=80=98tor-hidden-service=E2=80=99, which can be used to s= pecify hidden >> services quite easily. >> >> For example, to have your SSH daemon accessible over something.onion:22, >> just do: >> >> (operating-system >> ;; =E2=80=A6 >> (services (cons* (lsh-service #:interfaces '("127.0.0.1")) >> (tor-hidden-service "ssh" '((22 "127.0.0.1:22"))) >> (tor-service) >> %desktop-services))) >> >> and then you can: >> >> torify ssh something.onion >> >> from anywhere. > > Wow, awesome! I've never used a Tor hidden service before because I > never understood how things work, but this configuration looks so > simple that I don't have much excuse to not try it out. Thanks! We largely owe this to Tor, which is itself very simple to configure: https://www.torproject.org/docs/tor-hidden-service.html.en Pretty cool! Ludo=E2=80=99.