From owner-freebsd-questions Fri Nov 9 15:12:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail16.sdc1.sfba.home.com (femail16.sdc1.sfba.home.com [24.0.95.143]) by hub.freebsd.org (Postfix) with ESMTP id 5702037B41C for ; Fri, 9 Nov 2001 15:12:35 -0800 (PST) Received: from there ([24.141.18.230]) by femail16.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20011109231235.JCSY5322.femail16.sdc1.sfba.home.com@there>; Fri, 9 Nov 2001 15:12:35 -0800 Content-Type: text/plain; charset="iso-8859-1" From: Paul Murphy To: Henry smith , questions@FreeBSD.ORG Subject: Re: NATD question... Date: Fri, 9 Nov 2001 18:12:34 -0500 X-Mailer: KMail [version 1.3.1] References: <20011109023604.46157.qmail@web21109.mail.yahoo.com> In-Reply-To: <20011109023604.46157.qmail@web21109.mail.yahoo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20011109231235.JCSY5322.femail16.sdc1.sfba.home.com@there> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On November 8, 2001 09:36 pm, Henry smith wrote: > Hi, > > I'm using cable modem to connect to the internet. I > want to make my FreeBSD box as a gateway of my > microsoft windows client. > > > ==== FreeBSD Configuration ==== > > /etc/rc.conf: > > gateway_enable="YES" > natd_enable="YES" > natd_flags="" > > #ifconfig xl0 > ... inet 24.205.96.8 > #ifconfig xl1 > ... inet 192.168.1.1 > #ps x | grep natd > 348 ?? Ss 0:00.04 natd -interface xl1 > #ipfw list > 00001 allow ip from any to any > 00050 divert 8668 ip from any to any > > ==== Windows Configuration ==== > > *** Obtain an IP address automatically > > ======================================== > > > My FreeBSD box is connected to the internet, but my > windows client is not connected to the internet. > > Does someone have any idea to help me ? > > Thank you very much, > Smith. > > __________________________________________________ > Do You Yahoo!? > Find a job, post your resume. > http://careers.yahoo.com > Did you tell Windows that 192.168.1.1 is the gateway? -- "Every program attempts to expand until it can read mail. Those programs which cannot so expand are replaced by ones which can." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message