From cfdb5368c83d7405ed97c6bfbc1bd9bea11d87f1 Mon Sep 17 00:00:00 2001 From: Henrique Date: Fri, 21 Oct 2022 14:16:07 -0300 Subject: adjust commands to set nat nptv6 --- docs/configuration/nat/nptv6.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/configuration/nat/nptv6.rst b/docs/configuration/nat/nptv6.rst index c09c8336..cffb2a14 100644 --- a/docs/configuration/nat/nptv6.rst +++ b/docs/configuration/nat/nptv6.rst @@ -44,12 +44,12 @@ NPTv6 support has been added in VyOS 1.2 (Crux) and is available through .. code-block:: none - 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' + set nat nptv6 rule 10 source prefix 'fc00:dead:beef::/48' + set nat nptv6 rule 10 outbound-interface 'eth1' + set nat nptv6 rule 10 translation prefix '2001:db8:e1::/48' + set nat nptv6 rule 20 source prefix 'fc00:dead:beef::/48' + set nat nptv6 rule 20 outbound-interface 'eth2' + set nat nptv6 rule 20 translation prefix '2001:db8:e2::/48' Resulting in the following ip6tables rules: -- cgit v1.2.3