1
0
Fork 0
mirror of https://github.com/Nyr/openvpn-install.git synced 2025-04-05 05:33:30 +03:00
This commit is contained in:
Amin Khoshnood 2019-07-12 12:31:42 +03:00
parent 43ef4f920d
commit c27b321ea0

View file

@ -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