Delivery-Date: Sat, 01 Nov 2014 10:27:57 -0400
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=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID 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 C08D91E0331;
	Sat,  1 Nov 2014 10:27:55 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id E53CD3182C;
	Sat,  1 Nov 2014 14:27:51 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 0AE1531878
 for <tor-talk@lists.torproject.org>; Sat,  1 Nov 2014 14:27:48 +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 V1139pDwBKTr for <tor-talk@lists.torproject.org>;
 Sat,  1 Nov 2014 14:27:47 +0000 (UTC)
X-Greylist: delayed 469 seconds by postgrey-1.34 at eugeni;
 Sat, 01 Nov 2014 14:27:47 UTC
Received: from forward5h.mail.yandex.net (forward5h.mail.yandex.net
 [84.201.186.23])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "forwards.mail.yandex.net",
 Issuer "Certum Level IV CA" (not verified))
 by eugeni.torproject.org (Postfix) with ESMTPS id C513A241E6
 for <tor-talk@lists.torproject.org>; Sat,  1 Nov 2014 14:27:47 +0000 (UTC)
Received: from web8h.yandex.ru (web8h.yandex.ru [84.201.186.37])
 by forward5h.mail.yandex.net (Yandex) with ESMTP id 51408D0144F
 for <tor-talk@lists.torproject.org>; Sat,  1 Nov 2014 17:19:52 +0300 (MSK)
Received: from 127.0.0.1 (localhost [127.0.0.1])
 by web8h.yandex.ru (Yandex) with ESMTP id B248A6960F5A;
 Sat,  1 Nov 2014 17:19:51 +0300 (MSK)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail;
 t=1414851591; bh=LQV1e8sRVngddLiUVQW6z4WVh/Oju555jJW0cVBAIP0=;
 h=From:To:Subject:Date;
 b=TgtgseT2z49D26feZxjHd6WlaxgdOD8BIYfvcOcuEqwC4SWNWrOyiBn3HMj1OeJew
 WA/lZvjUoAKJT6zLwmUPMSDKvkwp7FKPUt9gzgjlF0AzgHJAkgRlRWkJWw+BYE8z3K
 NFAfA/yAlH2y+Ou770mocUmtteGf/Q1Oqv7WH6rA=
Received: from 23.transminn.cz (23.transminn.cz [185.8.237.81]) by
 web8h.yandex.ru with HTTP; Sat, 01 Nov 2014 17:19:51 +0300
From: Anjalis Chaldea <anjalis.chaldea@yandex.com>
Envelope-From: anjalis-chaldea@yandex.com
To: tor-talk@lists.torproject.org
MIME-Version: 1.0
Message-Id: <4435861414851591@web8h.yandex.ru>
X-Mailer: Yamail [ http://yandex.ru ] 5.0
Date: Sat, 01 Nov 2014 10:19:51 -0400
Subject: [tor-talk] TranparantProxy wiki page
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>

Good day,

I am new to this list, but not so new to TOR.

I was using https://trac.torproject.org/projects/tor/wiki/doc/TransparentProxy as a guide to create a similair case of transparant proxy. I used my own script though.

First I would like to point out that the following rules did not work for me:
~ iptables -t nat -A OUTPUT -p udp --dport 53 -j REDIRECT --to-ports 53
~ iptables -t nat -A OUTPUT -p tcp --syn -j REDIRECT --to-ports $_trans_port

Probably the REDIRECT part is wrong. I had to use DNAT insead:
~ iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to 127.0.0.1:53

I am not sure if this is a difference between the version of iptables used in the article and the one I am currently using?
* Article: iptables 1.3.5 or later
* Me: iptables v 1.4.21

Or did I miss configure my kernel? (I compile my own). I was at the point of updating the wiki article about it, including the incorperation of this warning:
https://lists.torproject.org/pipermail/tor-talk/2014-March/032507.html
But fist I wanted to double check if the error was not on my side.

Greetings,

Anjalis
-- 
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

