Bug 172927 - ipfw(8): ipfw manual page doesn't show simpliest NAT case
Summary: ipfw(8): ipfw manual page doesn't show simpliest NAT case
Status: Open
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ipfw (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-21 11:20 UTC by Wojciech A. Koszek
Modified: 2020-10-27 15:59 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wojciech A. Koszek freebsd_committer freebsd_triage 2012-10-21 11:20:00 UTC
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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2020-09-01 00:37:39 UTC
^Triage: reset inaccurate In Progress state.