summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-09-18 07:55:13 +0700
committerGitHub <noreply@github.com>2020-09-18 07:55:13 +0700
commita7d7d1c22e25b21b34139410dec98c4aa82e7b3f (patch)
tree23dc2e8f3f8fc9c7acd4639043f1c818349fc527 /docs
parent2e0c9720c57844cce665c85ed5d64764e5740f9d (diff)
parent060b0322f34e1b24a294179ef7b8a38284e0c267 (diff)
downloadvyos-documentation-a7d7d1c22e25b21b34139410dec98c4aa82e7b3f.tar.gz
vyos-documentation-a7d7d1c22e25b21b34139410dec98c4aa82e7b3f.zip
Merge pull request #337 from currite/crux-nptv6-commands
nptv6: replace invalid nptv6 commands with the valid ones.
Diffstat (limited to 'docs')
-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: