summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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: