Error in Docs

Rob Rogers rob at rogerscorp.us
Wed Mar 30 22:16:40 UTC 2005


Page: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipf.html
Section: 24.5.20 Port Redirection

The docs mention port redirection with IPNAT using
map dc0 20.20.20.5/32 port 80 -> 10.0.10.25 port 80
or
map dc0 0/32 port 80 -> 10.0.10.25 port 80

and a DNS example:
map dc0 20.20.20.5/32 port 53 -> 10.0.10.33 port 53 udp


These are all incorrect, port redirection with IPNAT uses "rdr" not "map" and the mask for "0" is "/0" not "/32".


So the correct examples should be:
rdr dc0 20.20.20.5/32 port 80 -> 10.0.10.25 port 80
or
rdr dc0 0/0 port 80 -> 10.0.10.25 port 80

and a DNS example:
rdr dc0 20.20.20.5/32 port 53 -> 10.0.10.33 port 53 udp


Rob Rogers
Product Manager
Jacklighter, Inc
Phone 714.628.0556
Fax   714.639.7785



More information about the freebsd-doc mailing list