ipnat rdr example broken

Michael P. Soulier msoulier at digitaltorque.ca
Tue Jan 9 01:24:51 UTC 2007


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 at 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



More information about the freebsd-doc mailing list