Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2007 19:56:13 -0500
From:      "Michael P. Soulier" <msoulier@digitaltorque.ca>
To:        doc@FreeBSD.org
Subject:   ipnat rdr example broken
Message-ID:  <fb6605670701081656o2f810886gb79b75a066f3f7b0@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I'm reading http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipf.html.

The examples for ipnat rdr rules look like so

rdr dc0 0/32 port 80 -> 10.0.10.25 port 80

But as I found out the hard way, this doesn't work. The 0/32 syntax is
wrong, it should be 0.0.0.0/0.

Thanks,
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?fb6605670701081656o2f810886gb79b75a066f3f7b0>