From 9749257e08fadd4a65908133b33060bb84bf84ac Mon Sep 17 00:00:00 2001 From: justinamcafee Date: Fri, 9 Mar 2018 11:32:14 -0600 Subject: [PATCH] Updated install.sh Added support for FamilyShield DNS from OpenDNS/CISCO --- auto_install/install.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/auto_install/install.sh b/auto_install/install.sh index 8e94f43..8c78d1d 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -695,6 +695,7 @@ setClientDNS() { Level3 "" off DNS.WATCH "" off Norton "" off + FamilyShield "" off Custom "" off) if DNSchoices=$("${DNSChoseCmd[@]}" "${DNSChooseOptions[@]}" 2>&1 >/dev/tty) @@ -734,6 +735,13 @@ setClientDNS() { $SUDO sed -i '0,/\(dhcp-option DNS \)/ s/\(dhcp-option DNS \).*/\1'${OVPNDNS1}'\"/' /etc/openvpn/server.conf $SUDO sed -i '0,/\(dhcp-option DNS \)/! s/\(dhcp-option DNS \).*/\1'${OVPNDNS2}'\"/' /etc/openvpn/server.conf ;; + FamilyShield) + echo "::: Using FamilyShield servers." + OVPNDNS1="208.67.222.123" + OVPNDNS2="208.67.220.123" + $SUDO sed -i '0,/\(dhcp-option DNS \)/ s/\(dhcp-option DNS \).*/\1'${OVPNDNS1}'\"/' /etc/openvpn/server.conf + $SUDO sed -i '0,/\(dhcp-option DNS \)/! s/\(dhcp-option DNS \).*/\1'${OVPNDNS2}'\"/' /etc/openvpn/server.conf + ;; Custom) until [[ $DNSSettingsCorrect = True ]] do