From owner-freebsd-questions@FreeBSD.ORG Mon Jan 8 18:41:47 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A266C16A508 for ; Mon, 8 Jan 2007 18:41:47 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 383DE13C428 for ; Mon, 8 Jan 2007 18:41:47 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so5628127uge for ; Mon, 08 Jan 2007 10:41:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=dK7ZiW9XdVqjpFTz2H93Nj0TapwzlMPJEH30naOHw2pKtBDeQQSsZIgIBBf2EuxicxAE7KCU6H+GPbTaNwP+s5OqZu04FKU74gsGlSfGSx7+uxgBisERS4BkT7IJnp5TZOJ1Kdzl9/ITB1FjoyAAg3+ebiHJ21jDzygZadjCe1M= Received: by 10.82.184.2 with SMTP id h2mr2687758buf.1168281705925; Mon, 08 Jan 2007 10:41:45 -0800 (PST) Received: by 10.82.170.18 with HTTP; Mon, 8 Jan 2007 10:41:45 -0800 (PST) Message-ID: Date: Mon, 8 Jan 2007 13:41:45 -0500 From: "Michael P. Soulier" Sender: msoulier@gmail.com To: "FreeBSD Questions" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 2dfb97ccc463ea31 Subject: Re: debugging ipnat 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: Mon, 08 Jan 2007 18:41:47 -0000 On 1/6/07, Michael P. Soulier wrote: > I have a simple port-forwarding rule that I want to work from my > gateway to a box on my LAN, but it doesn't seem to be working. > > [msoulier@kanga ~]$ sudo ipnat -l > Password: > List of active MAP/Redirect filters: > rdr tun0 0.0.0.0/32 port 6882 -> 192.168.1.3 port 6882 tcp What I was doing wrong is that the rule should have been this. rdr tun0 0.0.0.0/0 port 6882 -> 192.168.1.3 port 6882 tcp Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein