From owner-freebsd-questions Mon Apr 10 22:53:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from www.ozler.com (asy101.as54.sol.superonline.com [212.252.54.101]) by hub.freebsd.org (Postfix) with ESMTP id 34FE637B511 for ; Mon, 10 Apr 2000 22:53:09 -0700 (PDT) (envelope-from ertank@ozlerplastik.com) Received: from ozlerplastik.com (ertan [192.168.0.20]) by www.ozler.com (8.9.3/8.9.3) with ESMTP id IAA87584; Tue, 11 Apr 2000 08:55:24 +0300 (EEST) (envelope-from ertank@ozlerplastik.com) Message-ID: <38F2BD0A.FFEBF7EA@ozlerplastik.com> Date: Tue, 11 Apr 2000 08:50:02 +0300 From: Ertan Kucukoglu Organization: =?iso-8859-9?Q?=D6zler?= Plastik San. ve Tic. A.S. X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: tr,en MIME-Version: 1.0 To: Mike Tancsa Cc: questions@freebsd.org Subject: Re: Leased line and routing problems References: <38f28982.520935525@mail.sentex.net> Content-Type: text/plain; charset=iso-8859-9 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Tancsa wrote: > > On 10 Apr 2000 07:10:27 -0400, in sentex.lists.freebsd.questions you wrote: > > >Hello, > > > >I searched the maillist but, couldn't find a solution to my problem. > > > >I want to connect the LAN to the internet using router with FreeBSD 4.0. I > >didn't setup any router configuration before, so I don't know what to do, > >and below there maybe wrong configurations. > > Look for info on NAT (Network Address Translation). Also, if you go to > www.dejanews.com/usenet, click on power search, enter *freebsd* in the > forms section, and enter in NATD, you will get a wealth of information. > I'll do that. > >FreeBSD has 2 ethernets. One is 195.33.200.146 another is 192.168.1.152. > >Router's ip is 195.33.200.145, and setup for the 195.33.200.146 ip address. > >In my BSD I setup default gateway to 195.33.200.145, so my box can connect > >to the internet. > > > >I don't know what to do after that point. Please direct me to a web site or > >help setting this network up. > > man natd > > Other things you might want to look at include the various proxies in the > ports collection. in /usr/ports/www squid is a popular caching proxy. Also > in /usr/ports/net/socks5 is another popular one. I've setup squid on this machine, but squid also have problems. It does not give any data to clients. Also there is no log entry. > > > > >My several configuration files are below: > >----- /etc/rc.conf ----- > > >router_flags="-q" > >router="routed" > >router_enable="YES" > > You probably dont need routed for such a simple network. Just tried it. Didn't work. Btw, thank you for the replies. > > ---Mike > Mike Tancsa (mdtancsa@sentex.net) > Sentex Communications Corp, > Waterloo, Ontario, Canada > "Given enough time, 100 monkeys on 100 routers > could setup a national IP network." (KDW2) Regards, -- Ertan Kucukoglu ertank@ozlerplastik.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message