From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Tor hidden services Date: Sat, 28 Nov 2015 00:59:46 +0100 Message-ID: <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]:47168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2Svh-000111-6k for guix-devel@gnu.org; Fri, 27 Nov 2015 18:59:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2Sve-0006s7-1E for guix-devel@gnu.org; Fri, 27 Nov 2015 18:59:53 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2Svd-0006s3-UD for guix-devel@gnu.org; Fri, 27 Nov 2015 18:59:49 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:47630 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1a2Svd-00043O-9c for guix-devel@gnu.org; Fri, 27 Nov 2015 18:59:49 -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: guix-devel Commit adds =E2=80=98tor-hidden-service=E2=80=99, which can be used to spec= ify 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. Ludo=E2=80=99.