diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/configuration/nat/nptv6.rst | 12 |
1 files 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: |