summaryrefslogtreecommitdiff
path: root/docs/configuration/vrf/index.rst
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2023-11-16 21:53:16 +0100
committerGitHub <noreply@github.com>2023-11-16 21:53:16 +0100
commit1ea74f4d9bed32e5e0ddd4e9bd58340f5040ad94 (patch)
treefed2d01986ee1b42faf259df258f5b8b9723a2da /docs/configuration/vrf/index.rst
parent47b3c5578528a09df987fe419d811eca14864061 (diff)
parentf0349e7f1f49a51658c7b317205091a93fec71bf (diff)
downloadvyos-documentation-1ea74f4d9bed32e5e0ddd4e9bd58340f5040ad94.tar.gz
vyos-documentation-1ea74f4d9bed32e5e0ddd4e9bd58340f5040ad94.zip
Merge pull request #1153 from greenpsi/nat-update
Nat update
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'