Delivery-Date: Thu, 13 Nov 2014 11:03:51 -0500
Return-Path: <tor-talk-bounces@lists.torproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on moria.seul.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,URIBL_BLACK autolearn=ham
	version=3.3.1
X-Original-To: archiver@seul.org
Delivered-To: archiver@seul.org
Received: from eugeni.torproject.org (eugeni.torproject.org [38.229.72.13])
	(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by khazad-dum.seul.org (Postfix) with ESMTPS id CF3841E0ED2;
	Thu, 13 Nov 2014 11:03:48 -0500 (EST)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 1D6DA21848;
	Thu, 13 Nov 2014 16:03:45 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 5F989215EC
 for <tor-talk@lists.torproject.org>; Thu, 13 Nov 2014 16:03:41 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at 
Received: from eugeni.torproject.org ([127.0.0.1])
 by localhost (eugeni.torproject.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id IY5iaNSefMJx for <tor-talk@lists.torproject.org>;
 Thu, 13 Nov 2014 16:03:41 +0000 (UTC)
Received: from outbound.mailhostbox.com (outbound.mailhostbox.com
 [162.222.225.21])
 by eugeni.torproject.org (Postfix) with ESMTP id 37F67210A3
 for <tor-talk@lists.torproject.org>; Thu, 13 Nov 2014 16:03:41 +0000 (UTC)
Received: from [0.0.0.0] (assk2.torservers.net [78.108.63.44])
 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 (Authenticated sender: s7r@sky-ip.org)
 by outbound.mailhostbox.com (Postfix) with ESMTPSA id 70361639728
 for <tor-talk@lists.torproject.org>; Thu, 13 Nov 2014 16:03:36 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sky-ip.org;
 s=20110108; t=1415894618;
 bh=uHfyi4Espk/fKYqQUmLP6U3YPVe75OjjH2ZFzUvC2jc=;
 h=Message-ID:Date:From:Reply-To:MIME-Version:To:Subject:References:
 In-Reply-To:Content-Type:Content-Transfer-Encoding;
 b=CWgvhEJ6q+ZCJnZ0lTe20o/NTusja/HiEr1rkrpTm4oncgn9M5ceAsxRpITvUHZNe
 ct8cpOHhcCKcEsU8sijY1l1pTn7uMCaztLuu5W2+Nl4BpUk9msFUf18mLZ/diPWISL
 KwK1Y9q8uknHSpjagmIWlwRyhMUI+0lNjYR4EbGo=
Message-ID: <5464D64F.8090208@sky-ip.org>
Date: Thu, 13 Nov 2014 18:03:27 +0200
From: s7r <s7r@sky-ip.org>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64;
 rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: tor-talk@lists.torproject.org
References: <20141113145358.Horde.0Gsp88XT1I-0X9pMLmqI4Q1@skrilnetz.net>
In-Reply-To: <20141113145358.Horde.0Gsp88XT1I-0X9pMLmqI4Q1@skrilnetz.net>
X-CTCH-RefID: str=0001.0A020203.5464D65A.01D4, ss=1, re=0.001, recu=0.000,
 reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.001
X-CTCH-Rules: C_4847,
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-CTCH-SenderID: s7r@sky-ip.org
X-CTCH-SenderID-TotalMessages: 1
X-CTCH-SenderID-TotalSpam: 0
X-CTCH-SenderID-TotalSuspected: 0
X-CTCH-SenderID-TotalBulk: 0
X-CTCH-SenderID-TotalConfirmed: 0
X-CTCH-SenderID-TotalRecipients: 0
X-CTCH-SenderID-TotalVirus: 0
X-CTCH-SenderID-BlueWhiteFlag: 0
Subject: Re: [tor-talk] Clearnet/Onion access  for website
X-BeenThere: tor-talk@lists.torproject.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: tor-talk@lists.torproject.org
List-Id: "all discussion about theory, design,
 and development of Onion Routing" <tor-talk.lists.torproject.org>
List-Unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=unsubscribe>
List-Archive: <http://lists.torproject.org/pipermail/tor-talk/>
List-Post: <mailto:tor-talk@lists.torproject.org>
List-Help: <mailto:tor-talk-request@lists.torproject.org?subject=help>
List-Subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You couldn't possibly have provided less details than this. I assume I
don't have to go back to the genesis and also provide details of how
to install Tor for your operating system - this is pretty easy to
accomplish.

If you don't care about hiding the actual location of your server and
want to run your hidden service on the same server with the clearnet
site (makes sense if it's the same thing and non-hidden) you should
just instruct your webserver (apache or whatever you use your
hostname.onion as a ServerName or ServerAlias for the virtual host of
your website and add to your torrc:

HiddenServiceDir /path/to/your/tor-hs-dir #* this is the location
where you have the private_key for your onion hidden service.

HiddenServicePort 80 127.0.0.1:80

P.S. By default a webserver will listen in most cases on all available
interfaces (including local loopback - 127.0.0.1) if you have this
setting customized, you need either to change the IP from
HiddenServicePort with the one where the web server is listening
either set the web server to listen on localhost too.

On 11/13/2014 4:53 PM, tor@skrilnetz.net wrote:
> 
> Hi,
> 
> I have already a web server running to serve clearnet and I want
> to provide access to the same site on the same machine via onion
> service. What is the easiest way to do so?
> 
> Thanks,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUZNZPAAoJEIN/pSyBJlsRFycH/3NPmb8BrtEunQj+A9gOEl8U
izff2xO/skCjGDOMLqgvEnOlqUjK0aXpuxdZeDMdYmJD59r1He86befyCOvT3Bo9
p/7kIh0YOM6AqXG29zGfJV4PSiVwinQteuIsERGX/1LQgtB2TdSlvDTcWnzyKd8e
gkoUawgflitOrwjQ315d5v3ASA6RiUFuYQvYYPTRy1PuSV1+ZjfUZ72Xx5RpDQ+4
BOQBgAdid0NcZWYstuDUcYvL9RrdBbMS70mxnlCbKNqxrgWv9E025CxBdYu9g1fS
OpLS39TYAIDP2aK61606Qd0ONEaN79U0MjP37xhpORJL5b7n60fbc2FVSJVTU78=
=mELs
-----END PGP SIGNATURE-----
-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk

