From b9c2ff17191568bb560f7d73ca34d5eeff1433c7 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Thu, 13 Oct 2022 22:35:22 -0500 Subject: [PATCH] Change "block-outside-dns" placement - Apply upstream change Nyr/openvpn-install commit f2c44de. - This is mainly to work around a bug in Viscosity for macOS. --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 6cefc5f..d0c50f2 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -598,6 +598,7 @@ server 10.8.0.0 255.255.255.0" > /etc/openvpn/server/server.conf fi ;; esac + echo 'push "block-outside-dns"' >> /etc/openvpn/server/server.conf echo "keepalive 10 120 cipher AES-256-CBC user nobody @@ -701,7 +702,6 @@ remote-cert-tls server auth SHA512 cipher AES-256-CBC ignore-unknown-option block-outside-dns -block-outside-dns verb 3" > /etc/openvpn/server/client-common.txt # Enable and start the OpenVPN service (