Date: Tue, 25 Nov 2008 14:25:04 +0100 From: "n j" <nino80@gmail.com> To: on@cs.ait.ac.th Cc: User Questions <freebsd-questions@freebsd.org> Subject: Re: Ipfw forward Message-ID: <92bcbda50811250525p48a07f50i59e02a60c7179931@mail.gmail.com> In-Reply-To: <20081125132120.p65bo336048kcwo0@wwws.cs.ait.ac.th> References: <20081125132120.p65bo336048kcwo0@wwws.cs.ait.ac.th>
next in thread | previous in thread | raw e-mail | index | archive | help
> I'd like to have a clarification about the forward command in ipfw. > > From what I read in the man, I understand that on hitting a fwd rule, the > lookup in the routing table will be done according to the IP address in the > fwd rule, and not according to the IP destination address of the packet. > > AM I right? The man page suggests that's correct: "If ipaddr is not a local address, then the port number (if speci- fied) is ignored, and the packet will be forwarded to the remote address, using the route as found in the local routing table for that IP." -- Nino
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92bcbda50811250525p48a07f50i59e02a60c7179931>