diff --git a/templates/server.conf.j2 b/templates/server.conf.j2 index 37a8d65..370fdfc 100644 --- a/templates/server.conf.j2 +++ b/templates/server.conf.j2 @@ -26,6 +26,9 @@ route {{ route }} push "route {{ route }}" {% endfor %} {% endif %} +{% if openvpn_protocol == "udp" %} +push "explicit-exit-notify 3" +{% endif %} {% if openvpn_push_settings is defined %} {% for dhcp_opt in openvpn_push_settings %} push "{{ dhcp_opt }}"