Equivalent of in_port and out_port with in-kernel nat?

Rolf Grossmann rg at progtech.net
Mon Jul 9 23:42:49 UTC 2012


Hi,

I've started switching my machines to in-kernel nat and I've run into a
case where I need to tell the nat instance which packets to treat as
incoming and which as outgoing. With natd I've been able to use divert
with different ports and in_port and out_port options. The in-kernel nat
however doesn't seem to have a method of specifying nat direction and
instead always uses the information from the interface.

My question is, am I missing something? Is there a patch I could try?
Has the issue even come up before?

Thanks, Rolf.



More information about the freebsd-ipfw mailing list