Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2013 12:01:14 +0700
From:      Olivier Nicole <olivier.nicole@cs.ait.ac.th>
To:        Chris Stankevitz <chrisstankevitz@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: NAT: Handbook vs mailing list
Message-ID:  <CA%2Bg%2BBvi2thQE-aNjX7xbMgGbdGOYBohEb-BnrfV%2BCZk11a6V9g@mail.gmail.com>
In-Reply-To: <CAPi0psumAP7x902F120iSe3GVmH0uHAMn3HrfQxgpERXLuw8jA@mail.gmail.com>
References:  <CAPi0psumAP7x902F120iSe3GVmH0uHAMn3HrfQxgpERXLuw8jA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris,

On Tue, Oct 8, 2013 at 11:21 AM, Chris Stankevitz
<chrisstankevitz@gmail.com> wrote:
> http://www.freebsd.org/doc/handbook/network-natd.html
>
> http://lists.freebsd.org/pipermail/freebsd-questions/2011-April/229017.html
>
> 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,

Olivier

> 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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bg%2BBvi2thQE-aNjX7xbMgGbdGOYBohEb-BnrfV%2BCZk11a6V9g>