From owner-freebsd-questions Fri Mar 14 19: 2:18 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D652337B401 for ; Fri, 14 Mar 2003 19:02:16 -0800 (PST) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-13.pit.adelphia.net [24.53.161.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C47643FAF for ; Fri, 14 Mar 2003 19:02:15 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) by pa-plum1b-166.pit.adelphia.net (8.12.7/8.12.7) with ESMTP id h2F31aTb009206; Fri, 14 Mar 2003 22:01:37 -0500 (EST) (envelope-from wmoran@potentialtech.com) Message-ID: <3E72975E.1040506@potentialtech.com> Date: Fri, 14 Mar 2003 22:00:46 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030301 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lowell Gilbert Cc: freebsd-questions@freebsd.org Subject: Re: fbsd box as router AND natd References: <20030314223344.54713.qmail@saexchange.softwarealternative.com> <3E726A3D.8010405@potentialtech.com> <44n0jxpjzw.fsf@be-well.ilk.org> In-Reply-To: <44n0jxpjzw.fsf@be-well.ilk.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lowell Gilbert wrote: > Bill Moran writes: > > >>fbsdq wrote: >> >>>Hello, >>> I was wondering if this is possible and how to do it. I just got >>>a t1 installed with limited IP's. I want my FreeBSD box to act as a >>>router to all those office pc's with my limited public IP's, and >>>when I run out of those I want it to also act as a natd box to my >>>10.x.x.x ip addresses. Do I need three nics to get this done? One >>>for outside interface, one for public ip inside interface [router], >>>and a third one for inside public ip interface [natd]? I know how >>>to do natd, but for it to act as a router what do I need in >>>/etc/rc.conf, will just gateway_enable=YES do? or do I need to run >>>routed? >> >>Yes, you can do this. No, you don't need two network cards. > > > You *should* have two. You don't need three, though. [You could do > it with one, but your ISP would have a right to be annoyed with you.] My typo. I meant you don't need _three_. Thanks for straightening me out, Lowell. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message