From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 10:04:05 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 E4D351065694 for ; Tue, 14 Oct 2008 10:04:05 +0000 (UTC) (envelope-from peter@bsdly.net) Received: from skapet.bsdly.net (cl-426.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:1a9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 992E58FC17 for ; Tue, 14 Oct 2008 10:04:05 +0000 (UTC) (envelope-from peter@bsdly.net) Received: from thingy.bsdly.net ([10.168.103.11] helo=thingy.bsdly.net.bsdly.net ident=peter) by skapet.bsdly.net with esmtp (Exim 4.69) (envelope-from ) id 1Kpgl1-0002oU-Li for freebsd-questions@freebsd.org; Tue, 14 Oct 2008 12:04:03 +0200 To: freebsd-questions@freebsd.org References: <48F43EB1.40304@gmail.com> From: peter@bsdly.net (Peter N. M. Hansteen) Date: Tue, 14 Oct 2008 12:03:52 +0200 In-Reply-To: <48F43EB1.40304@gmail.com> (Manish Jain's message of "Tue, 14 Oct 2008 12:09:45 +0530") Message-ID: <87iqrvijcn.fsf@thingy.bsdly.net> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 10:04:06 -0000 Manish Jain writes: > I am poor at networking and need a little bit of help. My dad has a > Windows 2000 machine with a network card but does not have a connection > to the internet. When I started writing this, I thought that system had been abandoned already, but it appears Microsoft will offer a measure of support through next year sometime. Do see that the system gets properly updated before you put it on the net. > My freebsd 6.2 box is connected to the internet and has > 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is > directly connected via a long Ethernet cable to the NIC on my dad's > machine. While I can access the internet easily, I want my dad to be > able to connect to the internet with my freebsd box serving as the > gateway. Can anyone please explain to me in easy steps how to accomplish > this ? The keyword is that you need to set up your machine as a gateway. There are numerous guides available on how to do that (including the FreeBSD Handbook (free, online and likely already on your system) my PF tutorial (http://home.nuug.no/~peter/pf/) contains more than a few hints, as do several books available at better bookstores), but I would recommend that you pick literature that enables you to learn the basics of TCP/IP as well as the actual commands needed. Looking into packet filtering for basic protection won't hurt either. With those keywords in hand, you should be able to dig up something useful. - Peter -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ "Remember to set the evil bit on all malicious network traffic" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.