summaryrefslogtreecommitdiff
path: root/docs/configuration/interfaces/openvpn.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-05 22:53:53 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-05 22:54:22 +0100
commit0ae01b4a1c6e6376b2db498618c65801a809e826 (patch)
treeb2dbe35025eed7b4e85d2b64b083e703ba0ed948 /docs/configuration/interfaces/openvpn.rst
parent0fa792f9365cc10c593bb672c32fff30bdbe437d (diff)
downloadvyos-documentation-0ae01b4a1c6e6376b2db498618c65801a809e826.tar.gz
vyos-documentation-0ae01b4a1c6e6376b2db498618c65801a809e826.zip
vrf: static: T2450: adjust to new CLI syntax
Diffstat (limited to 'docs/configuration/interfaces/openvpn.rst')
-rw-r--r--docs/configuration/interfaces/openvpn.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/configuration/interfaces/openvpn.rst b/docs/configuration/interfaces/openvpn.rst
index 2c273b34..8b32743f 100644
--- a/docs/configuration/interfaces/openvpn.rst
+++ b/docs/configuration/interfaces/openvpn.rst
@@ -159,13 +159,13 @@ Local Configuration:
.. code-block:: none
- set protocols static interface-route 10.1.0.0/16 next-hop-interface vtun1
+ set protocols static route 10.1.0.0/16 interface vtun1
Remote Configuration:
.. code-block:: none
- set protocols static interface-route 10.0.0.0/16 next-hop-interface vtun1
+ set protocols static route 10.0.0.0/16 interface vtun1
Firewall policy can also be applied to the tunnel interface for `local`, `in`,
and `out` directions and function identically to ethernet interfaces.
@@ -253,7 +253,7 @@ internally, so we need to create a route to the 10.23.0.0/20 network ourselves:
.. code-block:: none
- set protocols static interface-route 10.23.0.0/20 next-hop-interface vtun10
+ set protocols static route 10.23.0.0/20 interface vtun10
Generate X.509 Certificate and Keys
-----------------------------------