From owner-freebsd-questions Tue Jan 2 15:30: 8 2001 From owner-freebsd-questions@FreeBSD.ORG Tue Jan 2 15:30:01 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by hub.freebsd.org (Postfix) with ESMTP id 70F0F37B402 for ; Tue, 2 Jan 2001 15:30:01 -0800 (PST) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.9.3/8.9.1) with ESMTP id PAA75883; Tue, 2 Jan 2001 15:25:38 -0800 (PST) Date: Tue, 2 Jan 2001 15:25:38 -0800 (PST) From: Annelise Anderson To: Eqab Almutairi Cc: freebsd-questions@freebsd.org Subject: Re: Hello sir/madam In-Reply-To: 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 You first get the FreeBSD machine connected to the Internet so it works. Then you get the Windows machine so it can communicate internally with the FreeBSD machine. You should be able to ftp from the Windows machine to the FreeBSD machine, telnet to it (if telnet is enabled) and ping one from the other. Then you enable ipfw on the FreeBSD machine (the loadable kernel module, ipfw, loads with "deny all" so you have to adjust the rules) and set up your ipfw firewall with appropriate entires in rc.conf. (Reboot to get it to take effect.) (Be sure to enable gateway.) You set the default route of the Windows machine to be the internal address of the FreeBSD machine. You run natd -n on the FreeBSD machine. The default route on the FreeBSD machine should be your ISP. See man natd--it gives all the info. Note you don't have to compile ipfw into your kernel as you can load the module. Annelise On Tue, 2 Jan 2001, Eqab Almutairi wrote: > Hello Sir/Madam > i m looking for some quick help realy. > i have here 2 computers 1 useing windows98 scounder one useing FreeBSD also > both useing dlink card ethernet hub, how i can make windows computer can > access internet etc.. via freebsd computer > i mean is there anyfile need to edit to make the windows computer have > access to internet on anytime the freebsd computer run? > > thanks hope you help me with this problem thanks. > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message