From owner-freebsd-questions Mon Apr 2 6:34:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from istar.ca (d141-119-162.home.cgocable.net [24.141.119.162]) by hub.freebsd.org (Postfix) with ESMTP id 72EA637B719 for ; Mon, 2 Apr 2001 06:34:41 -0700 (PDT) (envelope-from genisis@istar.ca) Received: (from genisis@localhost) by istar.ca (8.11.1/8.11.1) id f32DbwY14432; Mon, 2 Apr 2001 09:37:58 -0400 (EDT) (envelope-from genisis) Date: Mon, 2 Apr 2001 09:37:58 -0400 (EDT) From: Dru To: Educatee Cc: FreeBSD questions Subject: Re: How to setup 2 interface? In-Reply-To: <011601c0bb76$572b3b80$0100a8c0@co3018900a> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a good place to start: http://www.defcon1.org//html/Networking_Articles/Firewall-Ipfw/firewall-ipfw Dru On Mon, 2 Apr 2001, Educatee wrote: > 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 :) > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > 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