git: f70c6054a63c - stable/15 - MFC: ipfw.8: document how to delete nat configuration instance
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Jan 2026 19:32:26 UTC
The branch stable/15 has been updated by eugen:
URL: https://cgit.FreeBSD.org/src/commit/?id=f70c6054a63cbe5d874827f40329de7464b4eb42
commit f70c6054a63cbe5d874827f40329de7464b4eb42
Author: Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2025-12-28 17:47:08 +0000
Commit: Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2026-01-02 19:31:56 +0000
MFC: ipfw.8: document how to delete nat configuration instance
(cherry picked from commit e51047118cb1d15abe8077a5b47b8063fa364ad9)
---
sbin/ipfw/ipfw.8 | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8
index c1df8399c333..c6eedbccb2f8 100644
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -1,5 +1,5 @@
.\"
-.Dd December 4, 2025
+.Dd December 29, 2025
.Dt IPFW 8
.Os
.Sh NAME
@@ -104,6 +104,11 @@ in-kernel NAT.\&
.Cm config
.Ar config-options
.Nm
+.Op Fl q
+.Cm nat
+.Ar number
+.Cm delete
+.Nm
.Cm nat
.Ar number
.Cm show
@@ -3513,6 +3518,15 @@ For more information about aliasing modes, refer to
See Section
.Sx EXAMPLES
for some examples of nat usage.
+.Pp
+To delete specific nat configuration instance, use the following command:
+.Bd -ragged -offset indent
+.Bk -words
+.Cm nat
+.Ar nat_number
+.Cm delete
+.Ek
+.Ed
.Ss REDIRECT AND LSNAT SUPPORT IN IPFW
Redirect and LSNAT support follow closely the syntax used in
.Xr natd 8 .