1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2024-11-23 21:46: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 " 5) Hurricane Electric"
echo " 6) Verisign"
echo " 7) CCC"
read -p "DNS [1-6]: " -e -i 1 DNS
echo ""
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.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
cipher AES-256-CBC
comp-lzo
@ -418,4 +423,4 @@ verb 3" > /etc/openvpn/client-common.txt
echo ""
echo "Your client configuration is available at" ~/"$CLIENT.ovpn"
echo "If you want to add more clients, you simply need to run this script again!"
fi
fi