On Tue, 14 Oct 2008 14:40:01 +0300, Manolis Kiagias <[EMAIL PROTECTED]> wrote:
> Inspired by this discussion (and just replying to a random post) I
> tried for the first time to get a test machine as a gateway.  I tried
> the handbook's instructions, here:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html
>
> These work flawlessly, you will need to recompile your kernel
> though. The rest of the setup is relatively simple.

Hi Manolis & everyone else,

`ipdivert.ko' works fine as a module too.  You don't really *have* to
recompile the kernel, but we probably have to update the relevant
Handbook bits to mention that `ipdivert.ko' can be kldload'ed now.

Adding a few options in `loader.conf' should preload IPFW and DIVERT in
the running kernel:

    ipfw_load="YES"
    ipdivert_load="YES"

Then the rest of the `rc.conf' options described in the current text
work as expected.

I can't boot my 6.2-RELEASE installation today to verify that this works
in that version too, but if you have one around and it seems to work,
let me know and I'll handle the doc bits :-)

Attachment: pgpZI84jv0wq8.pgp
Description: PGP signature

Reply via email to