Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2008 14:56:20 +0300
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        Manolis Kiagias <sonic2000gr@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system
Message-ID:  <8763nvpezf.fsf@kobe.laptop>
In-Reply-To: <48F48511.2020708@gmail.com> (Manolis Kiagias's message of "Tue,  14 Oct 2008 14:40:01 %2B0300")
References:  <48F43EB1.40304@gmail.com> <87iqrvijcn.fsf@thingy.bsdly.net> <48F48511.2020708@gmail.com>

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

On Tue, 14 Oct 2008 14:40:01 +0300, Manolis Kiagias <sonic2000gr@gmail.com> 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 :-)


--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkj0iOoACgkQ1g+UGjGGA7ZUGQCfaXlXmuGxCwqRPUNIJzpBCn0v
HVAAnjD0TdAKNLqnQocueXYCfYDE4M6i
=Dm6Y
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8763nvpezf.fsf>