Date: Tue, 23 Nov 1999 11:53:56 -0800 (PST) From: Julian Elischer <julian@whistle.com> To: Robin Gruyters <robin@wish.net> Cc: freebsd-ipfw@FreeBSD.ORG Subject: Re: IPFW and forward Message-ID: <Pine.BSF.4.20.9911231150440.3171-100000@home.elischer.org> In-Reply-To: <19991123171119.N49519@bofh.wish.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <internal address>:<port> tcp from any to <external address> <port> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.9911231150440.3171-100000>