git: e51047118cb1 - main - ipfw.8: document how to delete nat configuration instance
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Dec 2025 17:47:44 UTC
The branch main has been updated by eugen:
URL: https://cgit.FreeBSD.org/src/commit/?id=e51047118cb1d15abe8077a5b47b8063fa364ad9
commit e51047118cb1d15abe8077a5b47b8063fa364ad9
Author: Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2025-12-28 17:47:08 +0000
Commit: Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2025-12-28 17:47:39 +0000
ipfw.8: document how to delete nat configuration instance
MFC after: 3 days
---
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 35580f58352d..867a43868ecc 100644
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -1,5 +1,5 @@
.\"
-.Dd December 10, 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
@@ -3511,6 +3516,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 .