From owner-freebsd-hackers Tue Nov 16 21:59:18 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id BDE90152B2 for ; Tue, 16 Nov 1999 21:59:16 -0800 (PST) (envelope-from julian@whistle.com) Received: from home.elischer.org (home.elischer.org [207.76.204.203]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id VAA70242; Tue, 16 Nov 1999 21:59:12 -0800 (PST) Date: Tue, 16 Nov 1999 21:59:17 -0800 (PST) From: Julian Elischer X-Sender: julian@home.elischer.org To: "Parthasarathy M. Aji" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Ip _ fw.c In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You can use the ipfw "fwd" command (man 8 ipfw) you need to also run ipfw 'fwd' commands on the servers otherwise they will send the packet back to it's original destination. alternatively you could have no real machine with that address but set a loopback interface to the target address on each machine so that each machine would accept the packet when it arrived. if you want to actually CHANGE the packet then I believe natd can do that but I've not done it. julian (p.s. tell more about your set-up and maybe I can be more specific) On Wed, 17 Nov 1999, Parthasarathy M. Aji wrote: > Hey, > i want to do packet filtering and redirection through the > kernel. Specifically, My application will be on an intermediate node, > through which, I want to redirect every packet that comes through me to a > different server. Would you know what files I might want to look into > this( like ip_fw.c for eg) etc..? .. > > Partha > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message