Push an option to the client so that it notifies the server of a restart.

This commit is contained in:
Andrea Dell'Amico 2020-05-07 10:47:54 +02:00
parent ae1e746722
commit 459862d0d4
1 changed files with 3 additions and 0 deletions

View File

@ -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 }}"