From 130659b003c4edeec5a19e0da33db349f5fa77ae Mon Sep 17 00:00:00 2001 From: Henry N Date: Thu, 26 Mar 2020 21:24:20 +0100 Subject: [PATCH] Add explicit-exit-notify for UDP (#579) For faster reconnects with UDP is better to send the the explicit-exit-notify to server. With this the server can directly see, that the client will exit. --- openvpn-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/openvpn-install.sh b/openvpn-install.sh index ab84a6c..b0703d7 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -964,6 +964,7 @@ WantedBy=multi-user.target" > /etc/systemd/system/iptables-openvpn.service echo "client" > /etc/openvpn/client-template.txt if [[ "$PROTOCOL" = 'udp' ]]; then echo "proto udp" >> /etc/openvpn/client-template.txt + echo "explicit-exit-notify" >> /etc/openvpn/client-template.txt elif [[ "$PROTOCOL" = 'tcp' ]]; then echo "proto tcp-client" >> /etc/openvpn/client-template.txt fi