From owner-freebsd-questions Tue Feb 15 21:42:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from sasknow.com (h139-142-245-96.ss.fiberone.net [139.142.245.96]) by builder.freebsd.org (Postfix) with ESMTP id 5DC5842D5 for ; Tue, 15 Feb 2000 21:42:45 -0800 (PST) Received: from localhost (freebsd@localhost) by sasknow.com (8.9.3/8.9.3) with ESMTP id XAA66487; Tue, 15 Feb 2000 23:42:29 -0600 (CST) (envelope-from freebsd@sasknow.com) Date: Tue, 15 Feb 2000 23:42:29 -0600 (CST) From: Ryan Thompson To: Gene Bomgardner Cc: freeBSD-questions@FreeBSD.ORG Subject: Re: DSL - FreeBSD - Gateway ? In-Reply-To: <200002160507.AAA20741@smtp-out1.bellatlantic.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 16 Feb 2000, Gene Bomgardner wrote: > > I'm running FreeBSD Ver 3.2. I have an External DSL modem > connected to my hub. One machine runs FreeBSD, one runs > windows. I haven't gotten FreeeBSD to use the DSL modem yet, > but windows does. What I'm trying to accomplish is to allow the > FreeBSD box to act as a gateway thus permitting access to DSL > simultaneously with the Windows 95 box. Has anyone done this? Yes. What you want to do is quite commonly done. > Should the BSD box have 2 network cards with the DSL modem on > one of them? I assume a firewall on the BSD box would be a good > idea... Yes, two network cards is the way to go with a router setup. If you plan to add more machines to your lan, plug your router into a hub, with something like: Cable Modem ---- Router ---- Hub / | \ Box1 Box2 Box3 But currently, you should have something like: Cable Modem ---- Router ---- Box1 > > > Can someone point me at a starting point or refer me to appropriate > documentation? You'll want to read manpages on ipfw, natd, and route/routed. Also read /etc/defaults/rc.conf and search for firewall, route and natd lines. After you've read up on that, if you still have questions, feel free to post again with a more specific problem, and we can help you out. -- Ryan Thompson 50% Owner, Sysadmin SaskNow Technologies http://www.sasknow.com #106-380 3120 8th St E Saskatoon, SK S7H 0W2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message