1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2024-11-24 05:56:08 +03:00

additional non blocking DNS from the Chaos Computer Club

This commit is contained in:
Bernd Keller 2017-09-21 14:03:47 +03:00
parent 0397827abe
commit e0895a5050

View File

@ -212,6 +212,7 @@ else
echo " 4) NTT" echo " 4) NTT"
echo " 5) Hurricane Electric" echo " 5) Hurricane Electric"
echo " 6) Verisign" echo " 6) Verisign"
echo " 7) CCC"
read -p "DNS [1-6]: " -e -i 1 DNS read -p "DNS [1-6]: " -e -i 1 DNS
echo "" echo ""
echo "Finally, tell me your name for the client certificate" echo "Finally, tell me your name for the client certificate"
@ -299,7 +300,11 @@ ifconfig-pool-persist ipp.txt" > /etc/openvpn/server.conf
echo 'push "dhcp-option DNS 64.6.64.6"' >> /etc/openvpn/server.conf echo 'push "dhcp-option DNS 64.6.64.6"' >> /etc/openvpn/server.conf
echo 'push "dhcp-option DNS 64.6.65.6"' >> /etc/openvpn/server.conf echo 'push "dhcp-option DNS 64.6.65.6"' >> /etc/openvpn/server.conf
;; ;;
esac 7)
echo 'push "dhcp-option DNS 204.152.184.76"' >> /etc/openvpn/server.conf
echo 'push "dhcp-option DNS 85.214.20.141"' >> /etc/openvpn/server.conf
;;
esac
echo "keepalive 10 120 echo "keepalive 10 120
cipher AES-256-CBC cipher AES-256-CBC
comp-lzo comp-lzo