NAT: Handbook vs mailing list

Olivier Nicole olivier.nicole at
Tue Oct 8 05:01:15 UTC 2013


On Tue, Oct 8, 2013 at 11:21 AM, Chris Stankevitz
<chrisstankevitz at> wrote:
> Hello,
> Handbook section 31.9.3 suggests I should, among other things, add the
> line ipdivert_load="YES" to /boot/loader.conf when setting up NAT.
> The mailing list message linked above suggests that the handbook
> information is the "old way" and that the correct way is to set
> ipfw_enable and natd_enable in rc.conf.  "Then /etc/rc.d/ipfw will
> load ipfw.ko, and if natd_enable is set, will invoke /etc/rc.d/natd,
> which loads ipdivert.ko at the right time."

>From what you copied/explained, natd_enable will load ipdivert.ko and
the handbook suggests that you load ipdivert.ko, so either way the
module will be loaded.

I'd go with the ipfw_enable and natd_enable as it may also do other
needed things than just loading a kernel module.

best regards,


> My inclination is to follow the handbook, but I thought I should first
> check to ensure the handbook is up-to-date.
> Thank you,
> Chris
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list