diff options
Diffstat (limited to 'docs/vpn/openvpn.rst')
-rw-r--r-- | docs/vpn/openvpn.rst | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/vpn/openvpn.rst b/docs/vpn/openvpn.rst index 7e468c7b..d0bc279b 100644 --- a/docs/vpn/openvpn.rst +++ b/docs/vpn/openvpn.rst @@ -424,6 +424,16 @@ options to OpenVPN. set interfaces openvpn vtun10 openvpn-option 'persistent-key' -Will add `persistent-key` at the end of the generated OpenVPN configuration. +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. + +Sometimes option lines in the generated OpenVPN configurarion require quotes. +This is done through a hack on our config generator. You can pass Quotes using +the ``"`` statement. + +.. code-block:: sh + + set interfaces openvpn vtun10 openvpn-option 'push "keepalive 1 10"' + +Will add ``push "keepalive 1 10"`` to the generated OpenVPN config file. |