From 060b0322f34e1b24a294179ef7b8a38284e0c267 Mon Sep 17 00:00:00 2001 From: currite Date: Fri, 18 Sep 2020 01:54:00 +0200 Subject: nptv6: replace invalid nptv6 commands with the valid ones. --- docs/nat.rst | 12 ++++++------ 1 file 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: -- cgit v1.2.3