diff --git a/openvpn-install.sh b/openvpn-install.sh index 1f0df4e..f407382 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -182,6 +182,7 @@ if [[ ! -e /etc/openvpn/server/server.conf ]]; then echo " 4) OpenDNS" echo " 5) Quad9" echo " 6) AdGuard" + echo " 7) COMODO" read -p "DNS server [1]: " dns until [[ -z "$dns" || "$dns" =~ ^[1-6]$ ]]; do echo "$dns: invalid selection." @@ -313,6 +314,10 @@ server 10.8.0.0 255.255.255.0" > /etc/openvpn/server/server.conf echo 'push "dhcp-option DNS 94.140.14.14"' >> /etc/openvpn/server/server.conf echo 'push "dhcp-option DNS 94.140.15.15"' >> /etc/openvpn/server/server.conf ;; + 7) + echo 'push "dhcp-option DNS 8.26.56.26"' >> /etc/openvpn/server/server.conf + echo 'push "dhcp-option DNS 8.20.247.20"' >> /etc/openvpn/server/server.conf + ;; esac echo "keepalive 10 120 cipher AES-256-CBC