mirror of
https://github.com/Nyr/openvpn-install.git
synced 2025-04-05 05:33:30 +03:00
Add Quad9 DNS support - https://www.quad9.net - https://en.wikipedia.org/wiki/Quad9
This commit is contained in:
parent
43ef4f920d
commit
c27b321ea0
1 changed files with 4 additions and 0 deletions
|
@ -204,6 +204,7 @@ else
|
|||
echo " 3) Google"
|
||||
echo " 4) OpenDNS"
|
||||
echo " 5) Verisign"
|
||||
echo " 6) Quad9 DNS"
|
||||
read -p "DNS [1-5]: " -e -i 1 DNS
|
||||
echo
|
||||
echo "Finally, tell me your name for the client certificate."
|
||||
|
@ -297,6 +298,9 @@ ifconfig-pool-persist ipp.txt" > /etc/openvpn/server/server.conf
|
|||
echo 'push "dhcp-option DNS 64.6.64.6"' >> /etc/openvpn/server/server.conf
|
||||
echo 'push "dhcp-option DNS 64.6.65.6"' >> /etc/openvpn/server/server.conf
|
||||
;;
|
||||
6)
|
||||
echo 'push "dhcp-option DNS 9.9.9.9"' >> /etc/openvpn/server/server.conf
|
||||
;;
|
||||
esac
|
||||
echo "keepalive 10 120
|
||||
cipher AES-256-CBC
|
||||
|
|
Loading…
Add table
Reference in a new issue