From owner-freebsd-questions@FreeBSD.ORG Wed Jan 4 18:53:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 01D6516A41F for ; Wed, 4 Jan 2006 18:53:18 +0000 (GMT) (envelope-from teoheras@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id B43BA43D78 for ; Wed, 4 Jan 2006 18:53:03 +0000 (GMT) (envelope-from teoheras@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so3037580nzo for ; Wed, 04 Jan 2006 10:53:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=acz89wX6g3eJARV17FGlvH5fxWa4Ou89yGC99bvH9Fjv+/YmdyAjt0ybfY+ftLZ0h8pkPeiNZKKdsDCZCxII8URn+z77iLMZfUM7mZdJNg9SMUOypoF0F0CQwr4OAh6nJxukMkYTJeRDcIPxIx/Yom/jOjUYwvEFqkX5YRfgbqk= Received: by 10.37.20.33 with SMTP id x33mr5815915nzi; Wed, 04 Jan 2006 10:53:02 -0800 (PST) Received: by 10.36.141.20 with HTTP; Wed, 4 Jan 2006 10:53:02 -0800 (PST) Message-ID: Date: Wed, 4 Jan 2006 13:53:02 -0500 From: Teo De Las Heras To: freebsd-questions@freebsd.org In-Reply-To: <43BC097C.4000401@gmail.com> MIME-Version: 1.0 References: <43BC097C.4000401@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting up a FreeBSD gateway X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2006 18:53:18 -0000 By design dns servers will perform recursive queries through the root servers for all domains; unless you're hosting the zone then it considers itself authoritive. So you can set up a dns server for your network, or us= e a public one. Teo On 1/4/06, Brian Bobowski wrote: > > OK, I've tried searching through man pages and such, but I've got kind > of lost here. > > I have one machine that's acting as a gateway for my home PC, in > addition to running a few local servers. I know I shouldn't do that, but > the traffic is low and I just don't have room for more computers in my > room, anyway. > > At any rate... I think I've got the packet-forwarding aspect set up OK; > I compiled a kernel with the options I found in the docs on the matter. > > However, I don't know how to set up DNS. Specifically, I want to either > pass all DNS requests through the gateway, or have the gateway run a > local DNS that queries my ISP's DNS in turn. Can anyone point me to some > steps on how to set that up? > > A bit of user-friendly instruction on using ipfw would be nice, too; I > think I'd be able to figure it out in time, but if someone can spare a > few moments to point out where I can find instructions on e.g. passing > traffic on certain ports through to the other machine, handling others, > and blocking the rest, it'd be appreciated. It's specifically the > forwarding part that has me a bit mystified. > > Please reply off-list. > > TIA, > > -BB > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >