From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 05:38:00 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9F19D303 for ; Tue, 4 Nov 2014 05:38:00 +0000 (UTC) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1F54B170 for ; Tue, 4 Nov 2014 05:37:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id sA45biYv027594; Tue, 4 Nov 2014 16:37:45 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 4 Nov 2014 16:37:44 +1100 (EST) From: Ian Smith To: Gary Aitken Subject: Re: natd not translating? In-Reply-To: Message-ID: <20141104160325.W52402@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2014 05:38:00 -0000 In freebsd-questions Digest, Vol 544, Issue 1, Message: 9 On Sun, 2 Nov 2014 17:36:36 -0700 "Gary Aitken" wrote: > Hi all, > > I'm trying to set up natd and can't for the life of me figure out > what's wrong with my config. > > natd.conf: > > use_sockets > same_ports > unregistered_only > verbose > alias_address 66.109.141.60 > > What I see: > In {default}[ICMP] [ICMP] 192.168.1.2 -> 128.2.42.52 8(0) aliased to > [ICMP] 192.168.1.2 -> 128.2.42.52 8(0) > > Any thoughts on why natd isn't translating 192.168.1.2 to 66.108.141.60? Hi Gary, Not enough information to have any idea how your NAT box is setup. Need to know the inside and outside interface addresses (eg ifconfig); ipfw rules, especially around those invoking natd (divert rule/s) and where these are placed in your ruleset; who/where is 192.168.1.2, is 66.109.141.60 always your assigned public IP address, freebsd version? cheers, Ian (please cc me, I take questions@ as a digest)