From owner-freebsd-questions Mon Apr 2 10:13:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from akira.lanfear.com (akira.lanfear.com [208.12.11.174]) by hub.freebsd.org (Postfix) with ESMTP id 2CBAC37B720 for ; Mon, 2 Apr 2001 10:13:36 -0700 (PDT) (envelope-from mwlist@lanfear.com) Received: from sapporo.lanfear.com (h-64-105-36-216.snvacaid.covad.net [64.105.36.216]) by akira.lanfear.com (8.9.3/8.9.3) with SMTP id KAA57842; Mon, 2 Apr 2001 10:13:30 -0700 (PDT) (envelope-from mwlist@lanfear.com) Date: Mon, 2 Apr 2001 10:13:30 -0700 (PDT) From: Marc W Message-Id: <200104021713.KAA57842@akira.lanfear.com> To: "Tuan Jean" , "FreeBSD questions" Subject: Re:how to setup 2 NIC? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Kiltdown 0.7 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG http://freebsd.lanfear.com/howtos/firewall.html. marc. Marc W, San Francisco, CA Kiltdown -- a free email client for X www.kiltdown.org -- it's what's underneath that counts. > ----------------------------- > From: "Tuan Jean" > To: "FreeBSD questions" > Subject: how to setup 2 NIC? > Sent: 04/02/01 23:10> > > > I am new to FreeBSD. I would like to attempt the following but still no luck > after 5 months of try and error. I appreciate any advice from any guru. > Thanks. > > I could like to have a proxy/firewall that sits between two networks. say > 192.168.0.0 and 192.169.0.0. One of the interface is connected to a router > that links all the time to an ISP. How should I setup my rc.conf file? > following is my current rc.conf. > > ifconfig_lnc0="inet 192.168.0.2 netmask 255.255.255.0" > ifconfig_lnc1="net 192.169.0.2 netmask 255.255.255.0" > hostname="firewall.home.com" > gateway_enable="YES" > defaultrouter="192.168.0.1" > inetd_enable="YES" > > 192.168.0.1 is the router I connect to ISP. > > Thank you :) > > > > > 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