diff options
author | Robert Göhler <github@ghlr.de> | 2022-10-23 21:32:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-23 21:32:08 +0200 |
commit | 6e041986fc95ff251288e29697c88f53b5d4fd1e (patch) | |
tree | d960a0b77cf034f3c68e31e5a6d9e8e42dff6596 /docs | |
parent | 70d60dc3e255c5b2cbfc1e663b71f138cec854e2 (diff) | |
parent | cfdb5368c83d7405ed97c6bfbc1bd9bea11d87f1 (diff) | |
download | vyos-documentation-6e041986fc95ff251288e29697c88f53b5d4fd1e.tar.gz vyos-documentation-6e041986fc95ff251288e29697c88f53b5d4fd1e.zip |
Merge pull request #879 from rick0x00/patch-1
adjust commands to set nat nptv6
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: |