From owner-freebsd-stable@FreeBSD.ORG Mon Sep 17 20:14:16 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D770316A418 for ; Mon, 17 Sep 2007 20:14:16 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id D7D1B13C45E for ; Mon, 17 Sep 2007 20:14:16 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay12.apple.com (relay12.apple.com [17.128.113.53]) by mail-out3.apple.com (Postfix) with ESMTP id 97EBA118F584; Mon, 17 Sep 2007 13:14:16 -0700 (PDT) Received: from relay12.apple.com (unknown [127.0.0.1]) by relay12.apple.com (Symantec Mail Security) with ESMTP id 8416B280A5; Mon, 17 Sep 2007 13:14:16 -0700 (PDT) X-AuditID: 11807135-a34fbbb00000711b-fb-46eee0180010 Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay12.apple.com (Apple SCV relay) with ESMTP id 69421280A2; Mon, 17 Sep 2007 13:14:16 -0700 (PDT) In-Reply-To: <46EDB5C7.5030100@vintners.net> References: <46EDB5C7.5030100@vintners.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <017E39A8-9E6A-4D9C-96FC-6578C1E6A95A@mac.com> Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Mon, 17 Sep 2007 13:14:15 -0700 To: Mike Lempriere X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-stable@freebsd.org Subject: Re: config problem routing external IP in to local net X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 20:14:16 -0000 On Sep 16, 2007, at 4:01 PM, Mike Lempriere wrote: > The problem is that I need one specific machine to appear on the > Internet proper with a unique IP address. > I've hunted around the web and spent a bunch of time messing with > things, and have them sort of working. > It appears that when the outside world asks for this machine, it > gets there, yay! Using the redirect_address statement to natd.conf should give you this. > The trouble is that this machine cannot see it's own requests. If you're natting the external IP to an internal IP, then you'll need to use that internal IP address on the local subnet. You might try using "machinename.example.com" for the external IP, and "machinename.local" for the internal IP; or you can use split DNS if you want to use the same hostname both inside and outside. -- -Chuck