From owner-freebsd-net Tue Feb 22 7:28:29 2000 Delivered-To: freebsd-net@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id D0F9037B68C for ; Tue, 22 Feb 2000 07:28:23 -0800 (PST) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id QAA98086; Tue, 22 Feb 2000 16:27:53 +0100 (CET) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200002221527.QAA98086@info.iet.unipi.it> Subject: does ipfw forward work with non-local addresses ? To: net@freebsd.org Date: Tue, 22 Feb 2000 16:27:53 +0100 (CET) X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, am looking at implementing some kind of redirection mechanism (similar to layer-4 switching, used to see a farm of servers as a single node) in ipfw, and was wondering how (if) ipfw forwarding works when you specify a non-local forwarding address e.g. something like ipfw add fwd some_other_host tcp from any to my_ip 80 The rule of course seems to match incoming packets, but then the forward routine will likely fail because the destination address in the packet seems to be unchanged. (Not that the return packets can work at all, as there is no way to set a matching rule at the moment for this...) cheers luigi -----------------------------------+------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy) Mobile +39-347-0373137 -----------------------------------+------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message