From owner-freebsd-net Fri Dec 28 18:45:25 2001 Delivered-To: freebsd-net@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id A5AA437B41A for ; Fri, 28 Dec 2001 18:45:22 -0800 (PST) Received: from dialup-209.245.140.30.dial1.sanjose1.level3.net ([209.245.140.30] helo=blossom.cjclark.org) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16K9Uu-0000EJ-00; Fri, 28 Dec 2001 18:45:21 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fBT2jGk94899; Fri, 28 Dec 2001 18:45:16 -0800 (PST) (envelope-from cjc) Date: Fri, 28 Dec 2001 18:45:16 -0800 From: "Crist J . Clark" To: Julian Elischer Cc: Henry Su , freebsd-net@FreeBSD.ORG Subject: Re: Why is my ipfw(8) ``fwd'' rule to redirect a service to another machine not working? Message-ID: <20011228184516.B93411@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20011227231922.N2090@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from julian@elischer.org on Fri, Dec 28, 2001 at 01:31:07PM -0800 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Dec 28, 2001 at 01:31:07PM -0800, Julian Elischer wrote: > You need to > correct the FAQ.. > > "The correct way to ensure that this does not happen is to also add > a 'fwd' rule on the destination rule, forwarding the packet > to localhost. This will override the destination machine's tendancy > to throw the forwarded packet back" I'm having a hard time parsing that. > Also, in versions of FreeBSD before 4.6, 4.6? > packets matched while INCOMING > could only be forwarded to the local host. Which is what I thought the original poster was doing? > Outgoing packets > could be forwarded to an adjoining host. > This was fixed while 4.5 was cooking and appeared in releases after that. So will this be in 4.5? > The port number is only used for forwarding to the local host. Which is what the original poster was doing? -- "It's always funny until someone gets hurt. Then it's hilarious." Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message