From owner-freebsd-pf@FreeBSD.ORG Sat Jul 15 19:01:41 2006 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 A990616A4E2 for ; Sat, 15 Jul 2006 19:01:41 +0000 (UTC) (envelope-from solinym@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3680143D45 for ; Sat, 15 Jul 2006 19:01:41 +0000 (GMT) (envelope-from solinym@gmail.com) Received: by py-out-1112.google.com with SMTP id c59so1037556pyc for ; Sat, 15 Jul 2006 12:01:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IFQE0aCoCf8s5Egl3j9/+HMxjSn9yV5iWcSu0JR4Mf7ZZs5ojlghgQ2FE/5ZpR2PKkKb93pMXqxUzJC//fuafUCWF0bKKUlZqcL1Xho1uH/NWLxFMdIXgoGeIdbeabm6QNZCnKO7+XTilBhXwjQkjhzcwDZAaavl+nDwM8m5Ofs= Received: by 10.35.93.1 with SMTP id v1mr1343027pyl; Sat, 15 Jul 2006 12:01:40 -0700 (PDT) Received: by 10.35.34.3 with HTTP; Sat, 15 Jul 2006 12:01:40 -0700 (PDT) Message-ID: Date: Sat, 15 Jul 2006 14:01:40 -0500 From: "Travis H." To: "Christian Meutes" In-Reply-To: <44B9398C.2080307@de.clara.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44B8F827.5000602@de.clara.net> <44B9398C.2080307@de.clara.net> Cc: freebsd-pf@freebsd.org Subject: Re: RDR for locally generated traffic 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: Sat, 15 Jul 2006 19:01:41 -0000 On 7/15/06, Christian Meutes wrote: > Then would it be possible to bind the IP to lo0 as an alias, connect to > this IP > and then let the rule rewrite the destination to a other one which lies > on fxp0 > directly? Hmm, gosh, I don't really know without trying. I think so, it should be like any other incoming packet as it arrives on the lo0 interface. Try it and let us know! You could also use route-to, or a static route, rather than an if alias, to get it to go to lo0, I think. -- ``I am not a pessimist. To perceive evil where it exists is, in my opinion, a form of optimism.'' -- Roberto Rossellini http://www.lightconsulting.com/~travis/ -><- GPG fingerprint: 9D3F 395A DAC5 5CCC 9066 151D 0A6B 4098 0C55 1484