From 9a7a4ecd52410a6b49c6ab2167ef17716a7a30dc Mon Sep 17 00:00:00 2001 From: bh Date: Mon, 10 Jun 2019 01:19:48 +0800 Subject: [PATCH] fix windows 10 "read tcp_client unknown error (code=10060) windows 10" drop connection bug --- openvpn-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 7b79512..74b4a01 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -368,7 +368,8 @@ auth SHA512 cipher AES-256-GCM setenv opt block-outside-dns key-direction 1 -verb 3" > /etc/openvpn/client-common.txt +verb 3 +redirect-gateway autolocal" > /etc/openvpn/client-common.txt # Generates the custom client.ovpn newclient "$CLIENT" echo