From owner-freebsd-newbies@FreeBSD.ORG Mon Dec 13 05:58:44 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3057316A4CE for ; Mon, 13 Dec 2004 05:58:44 +0000 (GMT) Received: from asclepius.uwa.edu.au (asclepius3.uwa.edu.au [130.95.128.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B78243D46 for ; Mon, 13 Dec 2004 05:58:43 +0000 (GMT) (envelope-from zanchey@mussel.ucc.gu.uwa.edu.au) Received: from asclepius.kas (localhost.localdomain [127.0.0.1]) by asclepius.uwa.edu.au (Postfix) with SMTP id 7A3E71843F3 for ; Mon, 13 Dec 2004 13:58:36 +0800 (WST) Received: from asclepius (localhost.localdomain [127.0.0.1]) by asclepius.prekas (Postfix) with SMTP id 6A0241843ED for ; Mon, 13 Dec 2004 13:58:36 +0800 (WST) X-UWA-Client-IP: 130.95.13.9 (UWA) Received: from mooneye.ucc.gu.uwa.edu.au (mooneye.ucc.gu.uwa.edu.au [130.95.13.9]) by asclepius.input (Postfix) with ESMTP id 52820183B9B for ; Mon, 13 Dec 2004 13:58:36 +0800 (WST) Received: by mooneye.ucc.gu.uwa.edu.au (Postfix, from userid 801) id 6C16C17F18; Mon, 13 Dec 2004 13:58:35 +0800 (WST) Received: from mussel (mussel.ucc.gu.uwa.edu.au [130.95.13.18]) by mooneye.ucc.gu.uwa.edu.au (Postfix) with ESMTP id 0A53D17E17; Mon, 13 Dec 2004 13:58:35 +0800 (WST) Received: from zanchey (helo=localhost) by mussel with local-esmtp (Exim 3.36 #1 (Debian)) id 1CdjEA-0007SS-00; Mon, 13 Dec 2004 13:58:34 +0800 Date: Mon, 13 Dec 2004 13:58:34 +0800 (WST) From: David Adam To: darren kirby In-Reply-To: <200412122133.18467.bulliver@badcomputer.org> Message-ID: References: <200412122133.18467.bulliver@badcomputer.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: David Adam X-SpamTest-Info: Profile: Formal (172/041212) X-SpamTest-Info: Profile: Detect Hard [UCS 290904] X-SpamTest-Info: Profile: SysLog X-SpamTest-Info: Profile: Marking Spam - Subject (UCS) [02-08-04] X-SpamTest-Status: Not detected X-SpamTest-Version: SMTP-Filter Version 2.0.0 [0125], KAS/Release cc: freebsd-newbies@freebsd.org Subject: Re: Home Network, step by step? X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2004 05:58:44 -0000 On Sun, 12 Dec 2004, darren kirby wrote: > There are a couple ways you can accomplish this. First, and easiest, is simply > to go to your local big-block computer store and purchase yourself a switch. > These can be had for ~$50 Plug the switch into your > and plug your two boxes into the switch. Configure them both to obtain an IP > using dhcp. Your done. In this example is > presumably a cable or adsl modem. You need to explain how you access the > internet. Darren, This will not always work. Case in point: The SB5100 Cable Modem. It's just a bridge device. > The second, and more educational way is to equip and configure either your > freebsd or linux box to do NAT/Masq. This will require you to have two > ethernet cards in the router. Essentially you are just daisy chaining the > computers physically in this example. As for setup of the NAT, I only know > how to do this on linux myself, so I hope someone more knowlegable can point > us _both_ to some docs on NAT/Masq on freebsd. To do NAT/IP Masquerading, you're probably best off in the long run learning how to use one of FreeBSD's fine packet-filtering firewalls: the relatively new (to FreeBSD) OpenBSD's pf or the somewhat older ipf. I recommend pf - it works very well for me. The FreeBSD Handbook contains information on firewalls: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html The pf section is short and sweet to get you up and running with pf: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-pf.html I hope that helps you. (And finally, freebsd-newbies is the WRONG LIST for these queries.) Cheers, David Adam --- zanchey@ucc.gu.uwa.edu.au