summaryrefslogtreecommitdiff
path: root/docs/configexamples/policy-based-ipsec-and-firewall.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/configexamples/policy-based-ipsec-and-firewall.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/configexamples/policy-based-ipsec-and-firewall.rst')
-rw-r--r--docs/configexamples/policy-based-ipsec-and-firewall.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/configexamples/policy-based-ipsec-and-firewall.rst b/docs/configexamples/policy-based-ipsec-and-firewall.rst
index 1f969453..9b7ba73a 100644
--- a/docs/configexamples/policy-based-ipsec-and-firewall.rst
+++ b/docs/configexamples/policy-based-ipsec-and-firewall.rst
@@ -194,9 +194,9 @@ And NAT Configuration:
set nat source rule 10 destination group network-group 'REMOTE-NETS'
set nat source rule 10 exclude
- set nat source rule 10 outbound-interface 'eth0'
+ set nat source rule 10 outbound-interface name 'eth0'
set nat source rule 10 source group network-group 'LOCAL-NETS'
- set nat source rule 20 outbound-interface 'eth0'
+ set nat source rule 20 outbound-interface name 'eth0'
set nat source rule 20 source group network-group 'LOCAL-NETS'
set nat source rule 20 translation address 'masquerade'