From owner-freebsd-questions@FreeBSD.ORG Wed Dec 20 19:51:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA5D216A5F2 for ; Wed, 20 Dec 2006 19:51:36 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 9D89843CAE for ; Wed, 20 Dec 2006 19:51:34 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 20 Dec 2006 19:51:34 -0000 Received: from nat-wh-1.rz.uni-karlsruhe.de (EHLO [192.168.1.12]) [129.13.72.169] by mail.gmx.net (mp034) with SMTP; 20 Dec 2006 20:51:34 +0100 X-Authenticated: #5465401 Message-ID: <4589948D.10302@gmx.de> Date: Wed, 20 Dec 2006 20:52:45 +0100 From: "[LoN]Kamikaze" Organization: Lords of Nightmare User-Agent: Thunderbird 1.5.0.8 (X11/20061218) MIME-Version: 1.0 To: Fabian Keil References: <458974E0.30702@gmx.de> <20061220200619.1e1313a7@localhost> In-Reply-To: <20061220200619.1e1313a7@localhost> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-questions@freebsd.org Subject: Re: managing traffic from localhost with pf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2006 19:51:39 -0000 Fabian Keil wrote: > "[LoN]Kamikaze" wrote: > >> I'm using pf for NAT and redirecting traffic from my home network into a >> transparent proxy (squid26). I'd also like to send traffic from >> localhost into the proxy, ... >> >> So my question is, is it possible? What would I have to do to make it >> possible? > > Use route-to to have the outgoing traffic come in on second loX > interface and redirect from there. > > Have a look at: > > for an example. > > Fabian Thanks a lot!