From owner-freebsd-pf@FreeBSD.ORG Thu Sep 15 11:39:23 2005 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A20C16A41F for ; Thu, 15 Sep 2005 11:39:23 +0000 (GMT) (envelope-from Greg.Hennessy@nviz.net) Received: from smtp.nildram.co.uk (smtp.nildram.co.uk [195.112.4.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id A719C43D45 for ; Thu, 15 Sep 2005 11:39:20 +0000 (GMT) (envelope-from Greg.Hennessy@nviz.net) Received: from gw2.local.net (unknown [62.3.210.251]) by smtp.nildram.co.uk (Postfix) with ESMTP id 580A724F27B for ; Thu, 15 Sep 2005 12:39:17 +0100 (BST) From: "Greg Hennessy" To: "'Brian Candler'" Date: Thu, 15 Sep 2005 12:39:18 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcW55vOSlnQAwR+yQvelcUrMP6yQJAAAugIg In-Reply-To: <20050915111712.GA1110@uk.tiscali.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830 Message-Id: <20050915113918.173F24D@gw2.local.net> Cc: freebsd-pf@freebsd.org Subject: RE: Using 'rdr' on outbound connections X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 11:39:23 -0000 > rdr pass proto tcp from any to any port 25 -> 127.0.0.1 port > 25 rdr pass on lo0 proto tcp from any to any port 25 -> > 127.0.0.1 port 25 rdr pass on fxp0 proto tcp from any to any > port 25 -> 127.0.0.1 port 25 Have you tried rdr on its own combined with an explicit pass rule in your policy ? Greg Greg