summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 %}