mirror of
https://github.com/Nyr/openvpn-install.git
synced 2025-04-05 05:33:30 +03:00
Add COMODO Secure DNS server
Add COMODO Secure DNS server 8.26.56.26, 8.20.247.20 https://www.comodo.com/secure-dns/
This commit is contained in:
parent
26e39cf4d7
commit
2338e63384
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue