From owner-freebsd-questions@FreeBSD.ORG Fri Aug 31 11:35:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A75116A418 for ; Fri, 31 Aug 2007 11:35:03 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id D25B713C46B for ; Fri, 31 Aug 2007 11:35:02 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 12101 invoked from network); 31 Aug 2007 06:34:41 -0500 Received: from 124-170-70-31.dyn.iinet.net.au (HELO localhost) (124.170.70.31) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 31 Aug 2007 06:34:41 -0500 Date: Fri, 31 Aug 2007 21:34:37 +1000 From: Norberto Meijome To: Mel Message-ID: <20070831213437.05c05a42@localhost> In-Reply-To: <200708311313.12209.fbsd.questions@rachie.is-a-geek.net> References: <20070831202729.7e4c0f7a@localhost> <200708311313.12209.fbsd.questions@rachie.is-a-geek.net> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: pf rdr + netsed : reinject loop... 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: Fri, 31 Aug 2007 11:35:03 -0000 On Fri, 31 Aug 2007 13:13:12 +0200 Mel wrote: > I think you're looking for tagging, for example: > rdr on $int_if proto tcp from 172.16.82.81 to any tag NETSED -> 127.0.0.1 port > 10101 > > Then you need to figure out how they come back and pass them through, for > example: > pass in on $int_if proto tcp tagged NETSED keep state > > See pf.conf(5) for more info. The examples section has one for spamd > redirection. Mel, i think you are right. Thanks, I just haven't had my brain switched on. I'll read the documentation and reply back with a solution for the list. thanks so much again! :) B _________________________ {Beto|Norberto|Numard} Meijome Do not take away the camels hump, you may be stopping him from being a camel. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.