From owner-freebsd-questions Sat Aug 5 19:13:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from 2711.dynacom.net (2711.dynacom.net [206.107.213.3]) by hub.freebsd.org (Postfix) with ESMTP id 5E1B737B7C4 for ; Sat, 5 Aug 2000 19:13:24 -0700 (PDT) (envelope-from kstewart@urx.com) Received: from urx.com (dsl1-160.dynacom.net [206.159.132.160]) by 2711.dynacom.net (Build 101 8.9.3/NT-8.9.3) with ESMTP id TAA02651; Sat, 05 Aug 2000 19:13:22 -0700 Message-ID: <398CC9C2.7664DBF1@urx.com> Date: Sat, 05 Aug 2000 19:13:22 -0700 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: mikesc@cts.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: hello.... help plz References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG mike wrote: > > hello > first thing is .. i am new to unix 8-) look out ... > > will here it goes > i have install freebsd.. "lol that was it after 2 days of playing i got it" > install the way i like it.. > now i would like to > connect my Win98 box's "3" that are on my lan > to the Internet via FreeBSD > > note: the bsd box connection is this.... > Ethernet connection > my connection to the internet is cable modem > @home Look at the topics on http://www.mostgraveconcern.com/freebsd/. He has one for setting up a cable modem. I used his "setting-up a dual-homed.." as my firewall rules. For the most part, what you do is tell FreeBSD that it is going to be a gateway in /etc/rc.conf. You probably have one IP address and you need NAT to forward everything using it as the home address. The dual homed article tells you what you have to add to your kernel. It is pretty easy. When you want the firewall, things get a little bit more complicated. You should be able to manage. Kent > > ps: if u have the time i can set up usr/password for u on my bsd box.. > and u can use the > su command and get in to root.... > and see what u can do..? > > will be looking forward to your reply > > i try to do this.. but i could not.. i need help..here this is what i use > to set it up > > http://www.freebsd.org/FAQ/networking.html#AEN3058 > Q: Can I connect my Win95 box to the Internet via FreeBSD? > > A: Typically, people who ask this question have two PC's at home, one with > FreeBSD and one with Win95; the idea is to use the FreeBSD box to connect to > the Internet and then be able to access the Internet from the Windows95 box > through the FreeBSD box. This is really just a special case of the previous > question. > > ... and the answer is yes! In FreeBSD 3.x, user-mode ppp contains a -nat > option. If you run ppp with the -nat, set gateway_enable to YES in > /etc/rc.conf, and configure your Windows machine correctly, this should work > fine. > > More detailed information about setting this up can be found in the Pedantic > PPP Primer by Steve Sims. > > If you are using kernel-mode ppp, or have an Ethernet connection to the > Internet, you will have to use natd. Please look at the natd section of this > FAQ. > > this is what i try to set up.. but i could not get it to work..... > 8-( > > Q: Does FreeBSD support NAT or Masquerading > > A: If you have a local subnet (one or more local machines), but have been > allocated only a single IP number from your Internet provider (or even if > you receive a dynamic IP number), you may want to look at the natd program. > Natd allows you to connect an entire subnet to the internet using only a > single IP number. > > The ppp program has similar functionality built in via the -nat switch. The > alias library is used in both cases. > http://www.freebsd.org/cgi/man.cgi?natd > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ Bomber dropping fire retardant in front of Hanford Wild fire. http://kstewart.urx.com/kstewart/bomber.jpg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message