diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-10 13:26:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 13:26:24 +0200 |
commit | cbfc9156b37127c0c483ac744e7d168ad988419a (patch) | |
tree | 3223a118785f9efa4f354f398ce19bcb406f3153 /data | |
parent | a4c98ef27b44384184bbb0e0355af9cd3b460653 (diff) | |
parent | 98388775515302e83ced809af3959bbfd8f9f117 (diff) | |
download | vyos-1x-cbfc9156b37127c0c483ac744e7d168ad988419a.tar.gz vyos-1x-cbfc9156b37127c0c483ac744e7d168ad988419a.zip |
Merge pull request #321 from jjakob/openvpn-ccd-fix
openvpn: T2261: re-add ccd to template (was removed by mistake)
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/openvpn/server.conf.tmpl | 4 |
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 %} |