diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-09-04 21:15:34 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-09-04 21:15:34 +0200 |
commit | 59aa274b432bebe0b71af6c4cdd3e0b257ac5b1c (patch) | |
tree | ee390889177d17c9a2d19d28e4cd09f42771df81 /docs | |
parent | 00c6b9b2c3d4af832fe63f95b3b42e87505f7bcb (diff) | |
download | vyos-documentation-59aa274b432bebe0b71af6c4cdd3e0b257ac5b1c.tar.gz vyos-documentation-59aa274b432bebe0b71af6c4cdd3e0b257ac5b1c.zip |
OpenVPN: add raw 'openvpn-option' option
Diffstat (limited to 'docs')
-rw-r--r-- | docs/vpn/openvpn.rst | 18 |
1 files changed, 18 insertions, 0 deletions
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. |