From 59aa274b432bebe0b71af6c4cdd3e0b257ac5b1c Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 4 Sep 2019 21:15:34 +0200 Subject: OpenVPN: add raw 'openvpn-option' option --- docs/vpn/openvpn.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'docs/vpn/openvpn.rst') diff --git a/docs/vpn/openvpn.rst b/docs/vpn/openvpn.rst index b56d6c68..6ad418b6 100644 --- a/docs/vpn/openvpn.rst +++ b/docs/vpn/openvpn.rst @@ -405,3 +405,21 @@ Client set interfaces openvpn vtun10 tls cert-file '/config/auth/client1.crt' set interfaces openvpn vtun10 tls key-file '/config/auth/client1.key' set interfaces openvpn vtun10 use-lzo-compression + +Options +^^^^^^^ + +We do not have CLI nodes for every single OpenVPN options. If an option is +missing, a feature request should be opened at https://phabricator.vyos.net so +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. + +.. code-block:: sh + + 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. -- cgit v1.2.3