ipfw.8: synopsis misses nat show form
Document the existing behavior, which is currently only available by reading third party documentation or the source code itself. PR: 254617 Submitted by: Oliver Kiddle MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D30189
This commit is contained in:
parent
4747500dea
commit
c8250c5ada
@ -1,7 +1,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd May 11, 2021
|
.Dd June 4, 2021
|
||||||
.Dt IPFW 8
|
.Dt IPFW 8
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -105,6 +105,11 @@ in-kernel NAT.
|
|||||||
.Ar number
|
.Ar number
|
||||||
.Cm config
|
.Cm config
|
||||||
.Ar config-options
|
.Ar config-options
|
||||||
|
.Nm
|
||||||
|
.Cm nat
|
||||||
|
.Ar number
|
||||||
|
.Cm show
|
||||||
|
.Brq Cm config | log
|
||||||
.Ss STATEFUL IPv6/IPv4 NETWORK ADDRESS AND PROTOCOL TRANSLATION
|
.Ss STATEFUL IPv6/IPv4 NETWORK ADDRESS AND PROTOCOL TRANSLATION
|
||||||
.Nm
|
.Nm
|
||||||
.Oo Cm set Ar N Oc Cm nat64lsn Ar name Cm create Ar create-options
|
.Oo Cm set Ar N Oc Cm nat64lsn Ar name Cm create Ar create-options
|
||||||
@ -922,7 +927,7 @@ This makes the
|
|||||||
.Xr netstat 1
|
.Xr netstat 1
|
||||||
entry look rather weird but is intended for
|
entry look rather weird but is intended for
|
||||||
use with transparent proxy servers.
|
use with transparent proxy servers.
|
||||||
.It Cm nat Ar nat_nr | tablearg
|
.It Cm nat Ar nat_nr | global | tablearg
|
||||||
Pass packet to a
|
Pass packet to a
|
||||||
nat instance
|
nat instance
|
||||||
(for network address translation, address redirect, etc.):
|
(for network address translation, address redirect, etc.):
|
||||||
@ -3276,8 +3281,9 @@ Set the aliasing ports between the ranges given. Upper port has to be greater
|
|||||||
than lower.
|
than lower.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
Some specials value can be supplied instead of
|
Some special values can be supplied instead of
|
||||||
.Va nat_number :
|
.Va nat_number
|
||||||
|
in nat rule actions:
|
||||||
.Bl -tag -width indent
|
.Bl -tag -width indent
|
||||||
.It Cm global
|
.It Cm global
|
||||||
Looks up translation state in all configured nat instances.
|
Looks up translation state in all configured nat instances.
|
||||||
@ -3303,7 +3309,7 @@ For more information about aliasing modes, refer to
|
|||||||
.Xr libalias 3 .
|
.Xr libalias 3 .
|
||||||
See Section
|
See Section
|
||||||
.Sx EXAMPLES
|
.Sx EXAMPLES
|
||||||
for some examples about nat usage.
|
for some examples of nat usage.
|
||||||
.Ss REDIRECT AND LSNAT SUPPORT IN IPFW
|
.Ss REDIRECT AND LSNAT SUPPORT IN IPFW
|
||||||
Redirect and LSNAT support follow closely the syntax used in
|
Redirect and LSNAT support follow closely the syntax used in
|
||||||
.Xr natd 8 .
|
.Xr natd 8 .
|
||||||
|
Loading…
Reference in New Issue
Block a user