From 974440f5898fc1106f7b2922ce8e241db505a503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Offline=20Connection=E3=83=84?= Date: Sun, 2 Oct 2016 11:25:32 +0200 Subject: [PATCH] Update openvpn-install.sh added cencurfri dns --- openvpn-install.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index d712ab6..99471b1 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -191,7 +191,8 @@ else echo " 4) NTT" echo " 5) Hurricane Electric" echo " 6) Verisign" - read -p "DNS [1-6]: " -e -i 1 DNS + echo " 7) CencurFriDNS.dk" + read -p "DNS [1-7]: " -e -i 1 DNS echo "" echo "Finally, tell me your name for the client cert" echo "Please, use one word only, no special characters" @@ -260,8 +261,8 @@ ifconfig-pool-persist ipp.txt" > /etc/openvpn/server.conf echo 'push "dhcp-option DNS 8.8.4.4"' >> /etc/openvpn/server.conf ;; 3) - echo 'push "dhcp-option DNS 91.239.100.100"' >> /etc/openvpn/server.conf - echo 'push "dhcp-option DNS 89.233.43.71"' >> /etc/openvpn/server.conf + echo 'push "dhcp-option DNS 208.67.222.222"' >> /etc/openvpn/server.conf + echo 'push "dhcp-option DNS 208.67.220.220"' >> /etc/openvpn/server.conf ;; 4) echo 'push "dhcp-option DNS 129.250.35.250"' >> /etc/openvpn/server.conf @@ -274,6 +275,10 @@ 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 ;; + 7) + echo 'push "dhcp-option DNS 91.239.100.100"' >> /etc/openvpn/server.conf + echo 'push "dhcp-option DNS 89.233.43.71"' >> /etc/openvpn/server.conf + ;; esac echo "keepalive 10 120 cipher AES-128-CBC