summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2022-02-16 20:41:55 +0100
committerGitHub <noreply@github.com>2022-02-16 20:41:55 +0100
commit658426dd30dbb508ea858834c066658eb2cd2f67 (patch)
treefb9343af455bcb095c9f4fde886323e36389fc04
parent22412fc657de45c9f9bb08df5ed77b14ddd9d368 (diff)
parent06f30a8b325fdbc070788b2347718128eb585854 (diff)
downloadvyos-documentation-658426dd30dbb508ea858834c066658eb2cd2f67.tar.gz
vyos-documentation-658426dd30dbb508ea858834c066658eb2cd2f67.zip
Merge pull request #717 from srividya0208/syntax-check
vpn-gre:incorrect syntax: local-ip and remote-ip changed to source-address and remote
-rw-r--r--docs/configuration/vpn/ipsec.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/configuration/vpn/ipsec.rst b/docs/configuration/vpn/ipsec.rst
index 590f6023..7194057d 100644
--- a/docs/configuration/vpn/ipsec.rst
+++ b/docs/configuration/vpn/ipsec.rst
@@ -174,8 +174,8 @@ On the LEFT:
# GRE tunnel
set interfaces tunnel tun0 encapsulation gre
- set interfaces tunnel tun0 local-ip 192.0.2.10
- set interfaces tunnel tun0 remote-ip 203.0.113.45
+ set interfaces tunnel tun0 source-address 192.0.2.10
+ set interfaces tunnel tun0 remote 203.0.113.45
set interfaces tunnel tun0 address 10.10.10.1/30
## IPsec
@@ -226,8 +226,8 @@ On the LEFT:
set interfaces tunnel tun0 encapsulation gre
set interfaces tunnel tun0 address 10.10.10.1/30
- set interfaces tunnel tun0 local-ip 192.168.99.1
- set interfaces tunnel tun0 remote-ip 192.168.99.2
+ set interfaces tunnel tun0 source-address 192.168.99.1
+ set interfaces tunnel tun0 remote 192.168.99.2
On the RIGHT:
@@ -237,8 +237,8 @@ On the RIGHT:
set interfaces tunnel tun0 encapsulation gre
set interfaces tunnel tun0 address 10.10.10.2/30
- set interfaces tunnel tun0 local-ip 192.168.99.2
- set interfaces tunnel tun0 remote-ip 192.168.99.1
+ set interfaces tunnel tun0 source-address 192.168.99.2
+ set interfaces tunnel tun0 remote 192.168.99.1
**Setting up IPSec**
@@ -247,7 +247,7 @@ tricky part is that pre-shared secret authentication doesn't work with dynamic
address, so we'll have to use RSA keys.
First, on both routers run the operational command "generate pki key-pair
-install <key-pair nam>>". You may choose different length than 2048 of course.
+install <key-pair name>". You may choose different length than 2048 of course.
.. code-block:: none