From owner-freebsd-questions@FreeBSD.ORG Thu Jun 12 13:45:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FF5F106568C for ; Thu, 12 Jun 2008 13:45:14 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 577C18FC1A for ; Thu, 12 Jun 2008 13:45:12 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id XAA15395; Thu, 12 Jun 2008 23:45:04 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 12 Jun 2008 23:45:02 +1000 (EST) From: Ian Smith To: Matt Brennan In-Reply-To: <20080611174446.A45C4106574D@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: Static NAT and PAT on FreeBSD 6.2 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: Thu, 12 Jun 2008 13:45:14 -0000 On Wed, 11 Jun 2008 13:17:11 -0400 Matt Brennan wrote: > I have continued to experiment and am still running into the same issues. > Anyone? > > -Matt > > On Sun, Jun 1, 2008 at 5:33 PM, Matt Brennan wrote: > > > Hi All, > > > > I am running FreeBSD 6.2-release. I have been running PAT via natd > > and ipfw for some time now and it runs great. However, I continue to > > try and employ static NAT on this router, and as soon as I do so all > > other clients lose routing. My natd.conf is as below: > > > > unregistered_only > > use_sockets > > log_ipfw_denied > > redirect_address 10.100.1.2 66.92.79.20 > > alias_address 66.92.79.89 > > > > Whenever I run with this configuration all clients except the > > static'ed one lose routing out of the building. I have tried switching > > the order of the alias_address and redirect_address. > > > > Any help is appreciated. > > > > -Matt On rereading natd(8) and my natd.conf I wondered if you mightn't need: target_address 255.255.255.255 # unmapped go to alias_address but expect you'd get a more useful response to this over on freebsd-net@ cheers, Ian