Ipfw forward

n j nino80 at gmail.com
Tue Nov 25 05:38:11 PST 2008


> 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


More information about the freebsd-questions mailing list