From owner-freebsd-questions@FreeBSD.ORG Thu Apr 4 08:17:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C39C1278 for ; Thu, 4 Apr 2013 08:17:59 +0000 (UTC) (envelope-from danny@clari.net.au) Received: from pigeon.clari.net.au (pigeon.clari.net.au [203.29.224.25]) by mx1.freebsd.org (Postfix) with ESMTP id 8AB46E1C for ; Thu, 4 Apr 2013 08:17:59 +0000 (UTC) Received: from [192.168.100.102] (c114-76-1-137.eburwd4.vic.optusnet.com.au [114.76.1.137]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: danny@clari.net.au) by pigeon.clari.net.au (Postfix) with ESMTPSA id 43D1BB40C01 for ; Thu, 4 Apr 2013 19:17:51 +1100 (EST) Message-ID: <515D3715.9080206@clari.net.au> Date: Thu, 04 Apr 2013 19:17:25 +1100 From: Daniel O'Callaghan User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Fwd: how access inside from outside when nat is done from inside to outside References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2013 08:17:59 -0000 On 4/04/2013 6:41 PM, s m wrote: > request packets: src:192.168.2.1----> dst: 192.168.1.1 > reply packets: src: 192.168.2.50----> dst:192.168.2.1 This sort of thing tends to happen when the the packets are not being sent via divert socket properly. Look carefully, step by step, at your ipfw rules which send packets to natd. Also, run natd -v in a separate window instead of running it as a daemon, and it will show you the packets which go through natd, and what is done with them. regards, Danny