summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorjjakob <jernej.jakob@gmail.com>2020-04-10 11:43:51 +0200
committerjjakob <jernej.jakob@gmail.com>2020-04-10 11:43:51 +0200
commit98388775515302e83ced809af3959bbfd8f9f117 (patch)
tree3223a118785f9efa4f354f398ce19bcb406f3153 /data/templates
parenta4c98ef27b44384184bbb0e0355af9cd3b460653 (diff)
downloadvyos-1x-98388775515302e83ced809af3959bbfd8f9f117.tar.gz
vyos-1x-98388775515302e83ced809af3959bbfd8f9f117.zip
openvpn: T2261: re-add ccd to template (was removed by mistake)
Commit ef27cef0 mistakenly removed client-config-dir from the server template.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/openvpn/server.conf.tmpl4
1 files changed, 4 insertions, 0 deletions
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 %}