From owner-freebsd-ipfw Tue Nov 23 11:54:59 1999 Delivered-To: freebsd-ipfw@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 7EF9B14A0D for ; Tue, 23 Nov 1999 11:54:56 -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 LAA92592; Tue, 23 Nov 1999 11:53:57 -0800 (PST) Date: Tue, 23 Nov 1999 11:53:56 -0800 (PST) From: Julian Elischer X-Sender: julian@home.elischer.org To: Robin Gruyters Cc: freebsd-ipfw@FreeBSD.ORG Subject: Re: IPFW and forward In-Reply-To: <19991123171119.N49519@bofh.wish.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG you cannot forwar dto an external port.. (it will allow it but it won't work.. remember that the packet is UNALTERED so when it gets to the machine, unless thh far machine thinks it should have it, it will say "huh? this isn't for me" and pass it back. you need to either: 1/ have an extra loopback (lo1) allocated on that machine with that address, or 2/ have ipfw running the same rule on that machine, to provide 'capture'. If you want to actually alter the packet, I believe NATD may be you friend. julian On Tue, 23 Nov 1999, Robin Gruyters wrote: > hi, > > > How do I set a forward: > > ipfw add fwd : tcp from any to > > Something like that?!?! Please, help me. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ipfw" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message