summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean <throwarock@gmail.com>2024-07-29 09:09:58 -0700
committerGitHub <noreply@github.com>2024-07-29 17:09:58 +0100
commit6b2069ebb2ebaa97abe86ad22a4fbbddbb36723b (patch)
tree48b27c017c2f3368bf0ad90b56000fc94a212ea4
parent348c7fb6c9d36de7e87db6286e1decf27a75814c (diff)
downloadvyos-documentation-6b2069ebb2ebaa97abe86ad22a4fbbddbb36723b.tar.gz
vyos-documentation-6b2069ebb2ebaa97abe86ad22a4fbbddbb36723b.zip
Update cgnat.rst (#1510)
Fixed command options
-rw-r--r--docs/configuration/nat/cgnat.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/configuration/nat/cgnat.rst b/docs/configuration/nat/cgnat.rst
index 7fc5e03b..1848d45e 100644
--- a/docs/configuration/nat/cgnat.rst
+++ b/docs/configuration/nat/cgnat.rst
@@ -77,7 +77,7 @@ Configuration
Set an external port-range for the external pool, the default range is
1024-65535. Multiple entries can be added to the same pool.
-.. cfgcmd:: set nat cgnat pool external <pool-name> external-port-range per-user-limit port <num>
+.. cfgcmd:: set nat cgnat pool external <pool-name> per-user-limit port <num>
Set external source port limits that will be allocated to each subscriber
individually. The default value is 2000.
@@ -91,11 +91,11 @@ Configuration
Set the range of internal IP addresses for the CGNAT pool.
-.. cfgcmd:: set nat cgnat pool rule <num> source pool <internal-pool-name>
+.. cfgcmd:: set nat cgnat rule <num> source pool <internal-pool-name>
Set the rule for the source pool.
-.. cfgcmd:: set nat cgnat pool rule <num> translation pool <external-pool-name>
+.. cfgcmd:: set nat cgnat rule <num> translation pool <external-pool-name>
Set the rule for the translation pool.
@@ -193,4 +193,4 @@ Further Reading
===============
- :rfc:`6598` - IANA-Reserved IPv4 Prefix for Shared Address Space
-- :rfc:`6888` - Requirements for CGNAT \ No newline at end of file
+- :rfc:`6888` - Requirements for CGNAT