summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcurrite <sll@disroot.org>2020-09-18 01:54:00 +0200
committercurrite <sll@disroot.org>2020-09-18 01:54:00 +0200
commit060b0322f34e1b24a294179ef7b8a38284e0c267 (patch)
treedfb03bd312380ed0c150b4a70c135321aea66e70
parent4b086010c08024c998800a73ed41ffd4fc09eae0 (diff)
downloadvyos-documentation-060b0322f34e1b24a294179ef7b8a38284e0c267.tar.gz
vyos-documentation-060b0322f34e1b24a294179ef7b8a38284e0c267.zip
nptv6: replace invalid nptv6 commands with the valid ones.
-rw-r--r--docs/nat.rst12
1 files changed, 6 insertions, 6 deletions
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: