From owner-freebsd-questions@FreeBSD.ORG Wed Jan 4 19:36:19 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 F32DB16A41F for ; Wed, 4 Jan 2006 19:36:18 +0000 (GMT) (envelope-from dan@ferrarishields.com) Received: from mail.ferrarishields.com (mail.ferrarishields.com [216.82.146.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6145C43D46 for ; Wed, 4 Jan 2006 19:36:17 +0000 (GMT) (envelope-from dan@ferrarishields.com) Received: from dan (dan [10.70.153.5]) by mail.ferrarishields.com (Postfix) with SMTP id 62A0373028; Wed, 4 Jan 2006 11:36:12 -0800 (PST) Message-ID: <024a01c61166$270c4610$0599460a@dan> From: "Dan O'Connor" To: "Brian Bobowski" , "FreeBSD User Questions List" References: <43BC097C.4000401@gmail.com> Date: Wed, 4 Jan 2006 11:36:23 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Cc: 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 19:36:19 -0000 > 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? Here's how I do it (my ISP maintains my domain name records on their DNS servers...): http://www.mostgraveconcern.com/freebsd/sheet.cgi?ipfw ~Dan