summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-24 21:29:35 +0100
committerChristian Breunig <christian@breunig.cc>2023-11-24 21:29:42 +0100
commit5953d6f69748c82cbd9eafbe662163924ae719e6 (patch)
tree451f36810bbaa82ee4bd04fad48f3c1e010253f7 /docs/configuration
parentc46961796c3ce310880e3ccfd2b494f9518a6b50 (diff)
downloadvyos-documentation-5953d6f69748c82cbd9eafbe662163924ae719e6.tar.gz
vyos-documentation-5953d6f69748c82cbd9eafbe662163924ae719e6.zip
ipsec: gre: use dummy interface in example over loopback
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/vpn/ipsec.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/configuration/vpn/ipsec.rst b/docs/configuration/vpn/ipsec.rst
index ece06fa2..b6ee86af 100644
--- a/docs/configuration/vpn/ipsec.rst
+++ b/docs/configuration/vpn/ipsec.rst
@@ -221,8 +221,8 @@ On the LEFT:
On the RIGHT, setup by analogy and swap local and remote addresses.
-Source tunnel from loopbacks
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Source tunnel from dummy interface
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The scheme above doesn't work when one of the routers has a dynamic external
address though. The classic workaround for this is to setup an address on a
@@ -240,7 +240,7 @@ On the LEFT:
.. code-block:: none
- set interfaces loopback lo address 192.168.99.1/32
+ set interfaces dummy dum0 address 192.168.99.1/32
set interfaces tunnel tun0 encapsulation gre
set interfaces tunnel tun0 address 10.10.10.1/30
@@ -251,7 +251,7 @@ On the RIGHT:
.. code-block:: none
- set interfaces loopback lo address 192.168.99.2/32
+ set interfaces dummy dum0 address 192.168.99.2/32
set interfaces tunnel tun0 encapsulation gre
set interfaces tunnel tun0 address 10.10.10.2/30