summaryrefslogtreecommitdiff
path: root/docs/vpn/openvpn.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-24 21:40:39 +0100
committerGitHub <noreply@github.com>2019-11-24 21:40:39 +0100
commitd497d3074766cccb880e6f2d91267cc19a1ce610 (patch)
treea99fd8b02f3ba98f491dada30acdfe1b3da49f2d /docs/vpn/openvpn.rst
parent6adb039393ab70334ed6512c3e630c0de7a60404 (diff)
parent0c19693d3dc4cd69ba48738155855fed3d1ff5af (diff)
downloadvyos-documentation-d497d3074766cccb880e6f2d91267cc19a1ce610.tar.gz
vyos-documentation-d497d3074766cccb880e6f2d91267cc19a1ce610.zip
Merge pull request #150 from rebortg/cfgcmd
cfgcmd for better typing feeling
Diffstat (limited to 'docs/vpn/openvpn.rst')
-rw-r--r--docs/vpn/openvpn.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/vpn/openvpn.rst b/docs/vpn/openvpn.rst
index 1a9ee9cf..491e6e6d 100644
--- a/docs/vpn/openvpn.rst
+++ b/docs/vpn/openvpn.rst
@@ -446,13 +446,13 @@ all users can benefit from it.
If you are a hacker or want to try on your own we support passing raw OpenVPN
options to OpenVPN.
-.. cfcmd:: set interfaces openvpn vtun10 openvpn-option 'persistent-key'
+.. cfgcmd:: set interfaces openvpn vtun10 openvpn-option 'persistent-key'
Will add ``persistent-key`` at the end of the generated OpenVPN configuration.
Please use this only as last resort - things might break and OpenVPN won't start
if you pass invalid options/syntax.
-.. cfcmd:: set interfaces openvpn vtun10 openvpn-option 'push &quot;keepalive 1 10&quot;'
+.. cfgcmd:: set interfaces openvpn vtun10 openvpn-option 'push &quot;keepalive 1 10&quot;'
Will add ``push "keepalive 1 10"`` to the generated OpenVPN config file.