From nobody@FreeBSD.org  Sun Oct 21 10:12:50 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 80E06E5B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 21 Oct 2012 10:12:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 63A1A8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 21 Oct 2012 10:12:50 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q9LACoXw032119
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 21 Oct 2012 10:12:50 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q9LACo8h032117;
	Sun, 21 Oct 2012 10:12:50 GMT
	(envelope-from nobody)
Message-Id: <201210211012.q9LACo8h032117@red.freebsd.org>
Date: Sun, 21 Oct 2012 10:12:50 GMT
From: "Wojciech A. Koszek" <wkoszek@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ipfw manual page doesn't show simpliest NAT case
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         172927
>Category:       docs
>Synopsis:       ipfw(8): ipfw manual page doesn't show simpliest NAT case
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 21 10:20:00 UTC 2012
>Closed-Date:    
>Last-Modified:  Sat Apr 06 23:23:33 UTC 2013
>Originator:     Wojciech A. Koszek
>Release:        9.0-BETA3
>Organization:
FreeBSD.org
>Environment:
9.0-BETA3
>Description:
I don't get ipfw(1) manual's:

ipfw add nat 123 all from any to any

What typical user wants is to add NAT (aka "Leeenux masquerade") for
2nd/3rd computer. We show complex cases of NAT usage in EXAMPLES section,
but don't show the simple, most popular case:

ipfw nat 123 config ip ADDR log
ipfw add 20 nat 123 ip from any to ADDR
ipfw add 10 nat 123 ip from 10.0.0.0/24 to any

I think this (or similar) should be in a man page ready for copy&paste
with no thinking. I had to Google around:

http://linuxconfig.net/manual-howto/ipfw-nat-on-freebsd-7.html


>How-To-Repeat:
man ipfw
/EXAMPLES
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
