Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2007 13:41:45 -0500
From:      "Michael P. Soulier" <msoulier@digitaltorque.ca>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   Re: debugging ipnat
Message-ID:  <fb6605670701081041j4c2c4b2ekde799544c54f9b22@mail.gmail.com>
In-Reply-To: <fb6605670701062000t662f32e7ie19e0881f169fec5@mail.gmail.com>
References:  <fb6605670701062000t662f32e7ie19e0881f169fec5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/6/07, Michael P. Soulier <msoulier@digitaltorque.ca> 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 <msoulier@digitaltorque.ca>
"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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fb6605670701081041j4c2c4b2ekde799544c54f9b22>