From owner-freebsd-questions Mon Apr 2 6:10:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mss.rdc2.nsw.optushome.com.au (ha1.rdc2.nsw.optushome.com.au [203.164.2.50]) by hub.freebsd.org (Postfix) with ESMTP id 151C037B71A for ; Mon, 2 Apr 2001 06:10:33 -0700 (PDT) (envelope-from tjtee@optushome.com.au) Received: from co3018900a ([203.164.78.30]) by mss.rdc2.nsw.optushome.com.au (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20010402131031.UTXX17266.mss.rdc2.nsw.optushome.com.au@co3018900a> for ; Mon, 2 Apr 2001 23:10:31 +1000 Message-ID: <011701c0bb76$57b1a990$0100a8c0@co3018900a> From: "Tuan Jean" To: "FreeBSD questions" Subject: how to setup 2 NIC? Date: Mon, 2 Apr 2001 23:10:49 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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