From e0895a5050fca5a7738cee97f91b8cfc1f9a3bcc Mon Sep 17 00:00:00 2001 From: Bernd Keller Date: Thu, 21 Sep 2017 14:03:47 +0300 Subject: [PATCH] additional non blocking DNS from the Chaos Computer Club --- openvpn-install.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 1e3fbf1..e4b97ee 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -212,6 +212,7 @@ else echo " 4) NTT" echo " 5) Hurricane Electric" echo " 6) Verisign" + echo " 7) CCC" read -p "DNS [1-6]: " -e -i 1 DNS echo "" echo "Finally, tell me your name for the client certificate" @@ -299,7 +300,11 @@ ifconfig-pool-persist ipp.txt" > /etc/openvpn/server.conf echo 'push "dhcp-option DNS 64.6.64.6"' >> /etc/openvpn/server.conf echo 'push "dhcp-option DNS 64.6.65.6"' >> /etc/openvpn/server.conf ;; - esac + 7) + echo 'push "dhcp-option DNS 204.152.184.76"' >> /etc/openvpn/server.conf + echo 'push "dhcp-option DNS 85.214.20.141"' >> /etc/openvpn/server.conf + ;; + esac echo "keepalive 10 120 cipher AES-256-CBC comp-lzo @@ -418,4 +423,4 @@ verb 3" > /etc/openvpn/client-common.txt echo "" echo "Your client configuration is available at" ~/"$CLIENT.ovpn" echo "If you want to add more clients, you simply need to run this script again!" -fi \ No newline at end of file +fi