Skip to content

Commit

Permalink
ipsec: gre: use dummy interface in example over loopback
Browse files Browse the repository at this point in the history
  • Loading branch information
c-po committed Nov 24, 2023
1 parent c469617 commit 5953d6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/configuration/vpn/ipsec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5953d6f

Please sign in to comment.