From 98388775515302e83ced809af3959bbfd8f9f117 Mon Sep 17 00:00:00 2001 From: jjakob Date: Fri, 10 Apr 2020 11:43:51 +0200 Subject: openvpn: T2261: re-add ccd to template (was removed by mistake) Commit ef27cef0 mistakenly removed client-config-dir from the server template. --- data/templates/openvpn/server.conf.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/templates/openvpn/server.conf.tmpl b/data/templates/openvpn/server.conf.tmpl index 5f6d1fc3c..d0af3d2e3 100644 --- a/data/templates/openvpn/server.conf.tmpl +++ b/data/templates/openvpn/server.conf.tmpl @@ -86,6 +86,10 @@ server {{ server_subnet }} max-clients {{ server_max_conn }} {%- endif %} +{%- if client %} +client-config-dir /opt/vyatta/etc/openvpn/ccd/{{ intf }} +{%- endif %} + {%- if server_reject_unconfigured %} ccd-exclusive {%- endif %} -- cgit v1.2.3