From owner-freebsd-doc@FreeBSD.ORG Sun Oct 21 10:20:01 2012 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A19112B for ; Sun, 21 Oct 2012 10:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 2771D8FC0A for ; Sun, 21 Oct 2012 10:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9LAK1Fn007696 for ; Sun, 21 Oct 2012 10:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9LAK1iN007695; Sun, 21 Oct 2012 10:20:01 GMT (envelope-from gnats) Resent-Date: Sun, 21 Oct 2012 10:20:01 GMT Resent-Message-Id: <201210211020.q9LAK1iN007695@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Wojciech A. Koszek" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 80E06E5B for ; 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 ; 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 ; 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" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: docs/172927: ipfw manual page doesn't show simpliest NAT case X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 10:20:01 -0000 >Number: 172927 >Category: docs >Synopsis: 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: >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: