From 459862d0d494dd3944038800aafe823f9fe4d0ba Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 7 May 2020 10:47:54 +0200 Subject: [PATCH] Push an option to the client so that it notifies the server of a restart. --- templates/server.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) 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 }}"