summaryrefslogtreecommitdiff
path: root/docs/configuration/vrf/index.rst
diff options
context:
space:
mode:
authorgreenpsi <git@psinet.dev>2023-11-16 00:19:59 +0100
committergreenpsi <git@psinet.dev>2023-11-16 00:19:59 +0100
commitf0349e7f1f49a51658c7b317205091a93fec71bf (patch)
tree82502734e34b7fda46ca79e4a9588969f437d0f1 /docs/configuration/vrf/index.rst
parent9e9f2755a87f61caa17b12cff669af73a5863dac (diff)
downloadvyos-documentation-f0349e7f1f49a51658c7b317205091a93fec71bf.tar.gz
vyos-documentation-f0349e7f1f49a51658c7b317205091a93fec71bf.zip
Nat update
Update some nat commands to new syntax
Diffstat (limited to 'docs/configuration/vrf/index.rst')
-rw-r--r--docs/configuration/vrf/index.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/configuration/vrf/index.rst b/docs/configuration/vrf/index.rst
index dea53321..7a50bfb2 100644
--- a/docs/configuration/vrf/index.rst
+++ b/docs/configuration/vrf/index.rst
@@ -295,11 +295,11 @@ Configuration
set nat destination rule 110 description 'NAT ssh- INSIDE'
set nat destination rule 110 destination port '2022'
- set nat destination rule 110 inbound-interface 'eth0'
+ set nat destination rule 110 inbound-interface name 'eth0'
set nat destination rule 110 protocol 'tcp'
set nat destination rule 110 translation address '192.168.130.40'
- set nat source rule 100 outbound-interface 'eth0'
+ set nat source rule 100 outbound-interface name 'eth0'
set nat source rule 100 protocol 'all'
set nat source rule 100 source address '192.168.130.0/24'
set nat source rule 100 translation address 'masquerade'