From owner-freebsd-questions Sat Mar 20 10:42: 2 1999 Delivered-To: freebsd-questions@freebsd.org Received: from spoon.beta.com (mcgovern.ne.mediaone.net [24.218.8.93]) by hub.freebsd.org (Postfix) with ESMTP id 8CA0915548 for ; Sat, 20 Mar 1999 10:41:42 -0800 (PST) (envelope-from mcgovern@spoon.beta.com) Received: from spoon.beta.com (localhost.beta.com [127.0.0.1]) by spoon.beta.com (8.9.2/8.9.2) with ESMTP id NAA10052 for ; Sat, 20 Mar 1999 13:42:34 -0500 (EST) (envelope-from mcgovern@spoon.beta.com) Message-Id: <199903201842.NAA10052@spoon.beta.com> To: questions@freebsd.org Subject: IPFW FWD Command (follow up...) Date: Sat, 20 Mar 1999 13:42:34 -0500 From: "Brian J. McGovern" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yup... I should always take net dumps before asking questions.... Using the ipfw fwd command, it appears to reset the destination address of a packet, rather than setting the "next hop" address, as the documentation claims. For instance, if I were to set: ipfw add 100 fwd 199.165.180.1 all from 199.165.180.30 to any, the docs elude that when a packet passed through the router with this rule, that the 'next hop" would be set to 199.165.180.1. However, if I then issue pings from 199.165.180.30, the host that responds is 199.165.180.1, and not the target specified in the ping.... So, which is wrong/broken? The documentation, or the code that implements it? -Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message