summaryrefslogtreecommitdiff
path: root/docs/configuration/highavailability/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/highavailability/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/highavailability/index.rst')
-rw-r--r--docs/configuration/highavailability/index.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/configuration/highavailability/index.rst b/docs/configuration/highavailability/index.rst
index 2f20e783..7f06faa8 100644
--- a/docs/configuration/highavailability/index.rst
+++ b/docs/configuration/highavailability/index.rst
@@ -450,7 +450,7 @@ Port "0" is required if multiple ports are used.
set high-availability virtual-server vyos real-server 192.0.2.12 health-check script '/config/scripts/check-real-server-second.sh'
set high-availability virtual-server vyos real-server 192.0.2.12 port '0'
- set nat source rule 100 outbound-interface 'eth0'
+ set nat source rule 100 outbound-interface name 'eth0'
set nat source rule 100 source address '192.0.2.0/24'
set nat source rule 100 translation address 'masquerade'