mirror of
				https://github.com/angristan/openvpn-install.git
				synced 2025-10-31 05:57:36 +01:00 
			
		
		
		
	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.
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Henry N
					Henry N