diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-23 09:15:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 09:15:14 +0200 |
commit | 1982211d2a3232d2c95399a885ac3ba998ec0ea5 (patch) | |
tree | 17ba542ab49cbd7bd55cdd346d3c9f62e13fd878 /data/templates/openvpn/server.conf.tmpl | |
parent | 6935c263f5022896e96bec9daa8a5ba29b04b51b (diff) | |
parent | b4926009b15da34a0e76029447732c17e8a1431b (diff) | |
download | vyos-1x-1982211d2a3232d2c95399a885ac3ba998ec0ea5.tar.gz vyos-1x-1982211d2a3232d2c95399a885ac3ba998ec0ea5.zip |
Merge pull request #1014 from nagua/fix_smaller_openvpn_issues
T3642: Fix smaller OpenVpn issues
Diffstat (limited to 'data/templates/openvpn/server.conf.tmpl')
-rw-r--r-- | data/templates/openvpn/server.conf.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/templates/openvpn/server.conf.tmpl b/data/templates/openvpn/server.conf.tmpl index 9e4cc6813..6aedc3786 100644 --- a/data/templates/openvpn/server.conf.tmpl +++ b/data/templates/openvpn/server.conf.tmpl @@ -176,6 +176,8 @@ tls-version-min {{ tls.tls_version_min }} {% endif %} {% if tls.dh_params is defined and tls.dh_params is not none %} dh /run/openvpn/{{ ifname }}_dh.pem +{% elif mode == 'server' and tls.private_key is defined %} +dh none {% endif %} {% if tls.auth_key is defined and tls.auth_key is not none %} {% if mode == 'client' %} |