From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 11:56:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18DE11065686 for ; Tue, 14 Oct 2008 11:56:41 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 674D58FC22 for ; Tue, 14 Oct 2008 11:56:40 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (adsl136-153.kln.forthnet.gr [77.49.255.153]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m9EBuRdf000503 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 14 Oct 2008 14:56:33 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id m9EBuRbT035500; Tue, 14 Oct 2008 14:56:27 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id m9EBuQYc035499; Tue, 14 Oct 2008 14:56:26 +0300 (EEST) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: Manolis Kiagias References: <48F43EB1.40304@gmail.com> <87iqrvijcn.fsf@thingy.bsdly.net> <48F48511.2020708@gmail.com> Date: Tue, 14 Oct 2008 14:56:20 +0300 In-Reply-To: <48F48511.2020708@gmail.com> (Manolis Kiagias's message of "Tue, 14 Oct 2008 14:40:01 +0300") Message-ID: <8763nvpezf.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-MailScanner-ID: m9EBuRdf000503 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.304, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.10, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 11:56:41 -0000 --=-=-= On Tue, 14 Oct 2008 14:40:01 +0300, Manolis Kiagias 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----- --=-=-=--