*BSD News Article 47794


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!news.texas.net!news.kei.com!news.mathworks.com!fu-berlin.de!news.belwue.de!News.Uni-Marburg.DE!news.th-darmstadt.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Any suggestions for what I'm needing ???
Date: 24 Jul 1995 11:53:26 +0200
Organization: Private U**x site, Dresden.
Lines: 37
Message-ID: <3uvqim$aem@bonnie.tcd-dresden.de>
References: <3unduf$621@darkstar.ucsc.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <3unduf$621@darkstar.ucsc.edu>,
Chris Haidinyak <chrish@cats.ucsc.edu> wrote:
>
>Hi,
>
>    I am trying to connect my Windows WFW311 486 box to the
>Internet via my FreeBSD 2.0.5 . I need to know which files to
>modify for each system so I can use my Netscape Navigator to
>view the WWW. I do have ed0 and ed1 configured and the kernel
>compiled and both networks work so I think all I need to do is 
>edit some files on both ends to make the FreeBSD box act as a
>gateway.
>
>          The following depicts my simple network :
>
>
>  +-------------+             +-------------------+
>  | Windows 486 | --- ed1 --- | FreeBSD 2.0.5 486 |
>  +-------------+             +-------------------+
>                                        |
>                                       ed0
>                                        |
>                              +--------------------+
>                              | Ascend Pipeline 50 | ---> Internet
>                              +--------------------+

The most important thing is

	sysctl -w net.inet.ip.forwarding=1

somewhere from your /etc/rc script.  Make sure the FreeBSD box and the
Win box got their entries for the default routers properly.
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)