summaryrefslogtreecommitdiff
path: root/docs/configexamples
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2023-09-06 21:01:32 +0200
committerGitHub <noreply@github.com>2023-09-06 21:01:32 +0200
commita4ddc2154c46ade04bcb1e5bceace0d6bd6c7539 (patch)
treefa0737d798dbf87d9b874f23d3be33d71921dc55 /docs/configexamples
parent923d79f467b568b7c03462dbb68a833bca8785bd (diff)
parent54bdc76b3bae95734d73a5ac2f174b32a1b9f2e9 (diff)
downloadvyos-documentation-a4ddc2154c46ade04bcb1e5bceace0d6bd6c7539.tar.gz
vyos-documentation-a4ddc2154c46ade04bcb1e5bceace0d6bd6c7539.zip
Merge pull request #1072 from srividya0208/zbf
correction of ipsec compression syntax
Diffstat (limited to 'docs/configexamples')
-rw-r--r--docs/configexamples/azure-vpn-bgp.rst5
-rw-r--r--docs/configexamples/azure-vpn-dual-bgp.rst7
2 files changed, 5 insertions, 7 deletions
diff --git a/docs/configexamples/azure-vpn-bgp.rst b/docs/configexamples/azure-vpn-bgp.rst
index fc6e1a04..f272aafd 100644
--- a/docs/configexamples/azure-vpn-bgp.rst
+++ b/docs/configexamples/azure-vpn-bgp.rst
@@ -60,7 +60,6 @@ Vyos configuration
.. code-block:: none
- set vpn ipsec esp-group AZURE compression 'disable'
set vpn ipsec esp-group AZURE lifetime '3600'
set vpn ipsec esp-group AZURE mode 'tunnel'
set vpn ipsec esp-group AZURE pfs 'dh-group2'
@@ -70,7 +69,7 @@ Vyos configuration
set vpn ipsec ike-group AZURE dead-peer-detection action 'restart'
set vpn ipsec ike-group AZURE dead-peer-detection interval '15'
set vpn ipsec ike-group AZURE dead-peer-detection timeout '30'
- set vpn ipsec ike-group AZURE ikev2-reauth 'yes'
+ set vpn ipsec ike-group AZURE ikev2-reauth
set vpn ipsec ike-group AZURE key-exchange 'ikev2'
set vpn ipsec ike-group AZURE lifetime '28800'
set vpn ipsec ike-group AZURE proposal 1 dh-group '2'
@@ -94,7 +93,7 @@ Vyos configuration
.. code-block:: none
- set firewall options interface vti1 adjust-mss 1350
+ set interfaces vti vti1 ip adjust-mss 1350
- Configure the VPN tunnel
diff --git a/docs/configexamples/azure-vpn-dual-bgp.rst b/docs/configexamples/azure-vpn-dual-bgp.rst
index 7f4987bb..d019092c 100644
--- a/docs/configexamples/azure-vpn-dual-bgp.rst
+++ b/docs/configexamples/azure-vpn-dual-bgp.rst
@@ -59,7 +59,6 @@ Vyos configuration
.. code-block:: none
- set vpn ipsec esp-group AZURE compression 'disable'
set vpn ipsec esp-group AZURE lifetime '3600'
set vpn ipsec esp-group AZURE mode 'tunnel'
set vpn ipsec esp-group AZURE pfs 'dh-group2'
@@ -69,7 +68,7 @@ Vyos configuration
set vpn ipsec ike-group AZURE dead-peer-detection action 'restart'
set vpn ipsec ike-group AZURE dead-peer-detection interval '15'
set vpn ipsec ike-group AZURE dead-peer-detection timeout '30'
- set vpn ipsec ike-group AZURE ikev2-reauth 'yes'
+ set vpn ipsec ike-group AZURE ikev2-reauth
set vpn ipsec ike-group AZURE key-exchange 'ikev2'
set vpn ipsec ike-group AZURE lifetime '28800'
set vpn ipsec ike-group AZURE proposal 1 dh-group '2'
@@ -96,8 +95,8 @@ Vyos configuration
.. code-block:: none
- set firewall options interface vti1 adjust-mss 1350
- set firewall options interface vti2 adjust-mss 1350
+ set interfaces vti vti1 ip adjust-mss 1350
+ set interfaces vti vti2 ip adjust-mss 1350
- Configure the VPN tunnels