Skip to content

Commit

Permalink
pf.conf.5: Fix endpoint-independent description
Browse files Browse the repository at this point in the history
The description of the endpoint-independent option accidentally ended up
in the middle of map-e-portset's text.

Fixes: 390dc36 ("pf: Add support for endpoint independent NAT bindings for UDP")

Reviewed by:	kp
Sponsored by:	Tailscale
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48158
  • Loading branch information
emaste committed Dec 20, 2024
1 parent 709989b commit 725003d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions share/man/man5/pf.conf.5
Original file line number Diff line number Diff line change
Expand Up @@ -2341,16 +2341,6 @@ from modifying the source port on TCP and UDP packets.
With
.Ar nat
rules, the
.It Ar endpoint-independent
With
.Ar nat
rules, the
.Ar endpoint-independent
option caues
.Xr pf 4
to always map connections from a UDP source address and port to the same
NAT address and port.
This feature implements "full-cone" NAT behavior.
.Ar map-e-portset
option enables the source port translation of MAP-E (RFC 7597) Customer Edge.
In order to make the host act as a MAP-E Customer Edge, setting up a tunneling
Expand All @@ -2364,6 +2354,16 @@ nat on $gif_mape_if from $int_if:network to any \e
.Ed
.Pp
sets PSID offset 6, PSID length 8, PSID 0x34.
.It Ar endpoint-independent
With
.Ar nat
rules, the
.Ar endpoint-independent
option caues
.Xr pf 4
to always map connections from a UDP source address and port to the same
NAT address and port.
This feature implements "full-cone" NAT behavior.
.El
.Pp
Additionally, the
Expand Down

0 comments on commit 725003d

Please sign in to comment.