diff options
author | Nicolas Riebesel <nicolas.riebesel@gmx.com> | 2021-09-23 01:29:12 +0200 |
---|---|---|
committer | Nicolas Riebesel <nicolas.riebesel@gmx.com> | 2021-09-23 01:29:12 +0200 |
commit | b4926009b15da34a0e76029447732c17e8a1431b (patch) | |
tree | 17ba542ab49cbd7bd55cdd346d3c9f62e13fd878 /data/templates/openvpn | |
parent | 4084046987ab52f8c77b0393c1820d37a2124bbd (diff) | |
download | vyos-1x-b4926009b15da34a0e76029447732c17e8a1431b.tar.gz vyos-1x-b4926009b15da34a0e76029447732c17e8a1431b.zip |
openvpn: T3642: Openvpn does not work without dh parameter in EC mode
Diffstat (limited to 'data/templates/openvpn')
-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' %} |