From d242ed43ebde9aa7a25218d6e440e6635bd3306b Mon Sep 17 00:00:00 2001 From: jacksao Date: Tue, 8 May 2018 00:02:19 +0800 Subject: [PATCH] Update openvpn-install.sh --- openvpn-install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 1a65958..280f09f 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -367,7 +367,10 @@ exit 0' > $RCLOCAL IP=$PUBLICIP fi # client-common.txt is created so we have a template to add further users later - echo "client + echo "script-security 2 +up /etc/openvpn/update-resolv-conf +down /etc/openvpn/update-resolv-conf +client dev tun proto $PROTOCOL sndbuf 0