debugging ipnat

Michael P. Soulier msoulier at
Sun Jan 7 04:00:51 UTC 2007

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 at kanga ~]$ sudo ipnat -l
List of active MAP/Redirect filters:
rdr tun0 port 6882 -> port 6882 tcp

Trying to telnet to port 6882 on the public interface from outside, I
just get a connection refused. The port is open in the firewall.
tcpdump shows the traffic arriving, and a reset packet in response.
tcpdump on the private interface shows nothing, so no attempt to
forward the traffic is made.

What am I doing wrong?

Michael P. Soulier <msoulier at>
"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

More information about the freebsd-questions mailing list