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:
parent
0397827abe
commit
e0895a5050
@ -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
|
||||||
@ -418,4 +423,4 @@ verb 3" > /etc/openvpn/client-common.txt
|
|||||||
echo ""
|
echo ""
|
||||||
echo "Your client configuration is available at" ~/"$CLIENT.ovpn"
|
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!"
|
echo "If you want to add more clients, you simply need to run this script again!"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user