git: 1c7c2027f2d1 - stable/15 - pf.conf.5: add nat-to/rdr-to to BNF

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Mon, 10 Nov 2025 08:38:02 UTC
The branch stable/15 has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=1c7c2027f2d1eaabd909382594062e46f90bae56

commit 1c7c2027f2d1eaabd909382594062e46f90bae56
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2025-11-03 16:05:25 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2025-11-10 08:37:48 +0000

    pf.conf.5: add nat-to/rdr-to to BNF
    
    PR:             290705
    MFC after:      1 week
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    
    (cherry picked from commit cd7f3e4d9e8305f866cf15e91b2ad01eb7685ba2)
---
 share/man/man5/pf.conf.5 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index 683f64f33c87..3b2588f51498 100644
--- a/share/man/man5/pf.conf.5
+++ b/share/man/man5/pf.conf.5
@@ -27,7 +27,7 @@
 .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd October 7, 2025
+.Dd November 3, 2025
 .Dt PF.CONF 5
 .Os
 .Sh NAME
@@ -3440,6 +3440,12 @@ filteropt      = user | group | flags | icmp-type | icmp6-type | "tos" tos |
                  "dnpipe" ( number | "(" number "," number ")" ) |
                  "dnqueue" ( number | "(" number "," number ")" ) |
                  "ridentifier" number |
+                 "binat-to" ( redirhost | "{" redirhost-list "}" )
+                 [ portspec ] [ pooltype ] |
+                 "rdr-to" ( redirhost | "{" redirhost-list "}" )
+                 [ portspec ] [ pooltype ] |
+                 "nat-to" ( redirhost | "{" redirhost-list "}" )
+                 [ portspec ] [ pooltype ] [ "static-port" ] |
                  [ ! ] "received-on" ( interface-name | interface-group )
 
 nat-rule       = [ "no" ] "nat" [ "pass" [ "log" [ "(" logopts ")" ] ] ]