summaryrefslogtreecommitdiff
path: root/docs/configexamples/azure-vpn-bgp.rst
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2023-02-06 21:06:31 +0100
committerGitHub <noreply@github.com>2023-02-06 21:06:31 +0100
commita51949687e37de3b2f573788f8d20490b40d6c6a (patch)
tree041825aa22f05fe1cad3c38bb893ab62b4c7e4d5 /docs/configexamples/azure-vpn-bgp.rst
parent05839481615d05396a193db82883a15c41e3cdf0 (diff)
parent8f61920f01d30e2a864dc6927b0038357e56bb05 (diff)
downloadvyos-documentation-a51949687e37de3b2f573788f8d20490b40d6c6a.tar.gz
vyos-documentation-a51949687e37de3b2f573788f8d20490b40d6c6a.zip
Merge pull request #946 from sever-sever/ipsec-auth-doc
Change IPsec authentication PSK and examples
Diffstat (limited to 'docs/configexamples/azure-vpn-bgp.rst')
-rw-r--r--docs/configexamples/azure-vpn-bgp.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/configexamples/azure-vpn-bgp.rst b/docs/configexamples/azure-vpn-bgp.rst
index 6e715d79..fc6e1a04 100644
--- a/docs/configexamples/azure-vpn-bgp.rst
+++ b/docs/configexamples/azure-vpn-bgp.rst
@@ -100,15 +100,18 @@ Vyos configuration
.. code-block:: none
- set vpn ipsec site-to-site peer 203.0.113.2 authentication id '198.51.100.3'
+ set vpn ipsec authentication psk azure id '198.51.100.3'
+ set vpn ipsec authentication psk azure id '203.0.113.2'
+ set vpn ipsec authentication psk azure secret 'ch00s3-4-s3cur3-psk'
+ set vpn ipsec site-to-site peer azure authentication local-id '198.51.100.3'
set vpn ipsec site-to-site peer 203.0.113.2 authentication mode 'pre-shared-secret'
- set vpn ipsec site-to-site peer 203.0.113.2 authentication pre-shared-secret 'ch00s3-4-s3cur3-psk'
set vpn ipsec site-to-site peer 203.0.113.2 authentication remote-id '203.0.113.2'
set vpn ipsec site-to-site peer 203.0.113.2 connection-type 'respond'
set vpn ipsec site-to-site peer 203.0.113.2 description 'AZURE PRIMARY TUNNEL'
set vpn ipsec site-to-site peer 203.0.113.2 ike-group 'AZURE'
set vpn ipsec site-to-site peer 203.0.113.2 ikev2-reauth 'inherit'
set vpn ipsec site-to-site peer 203.0.113.2 local-address '10.10.0.5'
+ set vpn ipsec site-to-site peer azure remote-address '203.0.113.2'
set vpn ipsec site-to-site peer 203.0.113.2 vti bind 'vti1'
set vpn ipsec site-to-site peer 203.0.113.2 vti esp-group 'AZURE'