summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/configuration-overview.rst9
-rw-r--r--docs/nat.rst12
2 files changed, 11 insertions, 10 deletions
diff --git a/docs/configuration-overview.rst b/docs/configuration-overview.rst
index 85abbfce..bf9c57d9 100644
--- a/docs/configuration-overview.rst
+++ b/docs/configuration-overview.rst
@@ -342,11 +342,12 @@ different levels in the hierarchy.
vyos@vyos# exit discard
-.. cfgcmd:: commit-confirm
+.. cfgcmd:: commit-confirm <minutes>
- Commit the current set of changes if ``confirm`` is also entered
- within 10 minutes. Otherwise the system reboot into the previous
- configuration.
+ Use this command to temporarily commit your changes and set the
+ number of minutes available for validation. ``confirm`` must
+ be entered within those minutes, otherwise the system will reboot
+ into the previous configuration. The default value is 10 minutes.
What if you are doing something dangerous? Suppose you want to setup
diff --git a/docs/nat.rst b/docs/nat.rst
index 3c663bfe..25e0259b 100644
--- a/docs/nat.rst
+++ b/docs/nat.rst
@@ -307,12 +307,12 @@ NPTv6 support has been added in VyOS 1.2 (Crux) and is available through
.. code-block:: none
- set rule 10 inside-prefix 'fc00:dead:beef::/48'
- set rule 10 outside-interface 'eth1'
- set rule 10 outside-prefix '2001:db8:e1::/48'
- set rule 20 inside-prefix 'fc00:dead:beef::/48'
- set rule 20 outside-interface 'eth2'
- set rule 20 outside-prefix '2001:db8:e2::/48'
+ set rule 10 source prefix 'fc00:dead:beef::/48'
+ set rule 10 outbound-interface 'eth1'
+ set rule 10 translation prefix '2001:db8:e1::/48'
+ set rule 20 source prefix 'fc00:dead:beef::/48'
+ set rule 20 outbound-interface 'eth2'
+ set rule 20 translation prefix '2001:db8:e2::/48'
Resulting in the following ip6tables rules: