diff options
author | Robert Göhler <github@ghlr.de> | 2023-11-16 21:53:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 21:53:16 +0100 |
commit | 1ea74f4d9bed32e5e0ddd4e9bd58340f5040ad94 (patch) | |
tree | fed2d01986ee1b42faf259df258f5b8b9723a2da /docs/configuration/vrf/index.rst | |
parent | 47b3c5578528a09df987fe419d811eca14864061 (diff) | |
parent | f0349e7f1f49a51658c7b317205091a93fec71bf (diff) | |
download | vyos-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.rst | 4 |
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' |