mirror of
https://github.com/Nyr/openvpn-install.git
synced 2024-11-23 21:46:08 +03:00
Removed Level 3 DNS
For some countries, Level 3 is now hijacking NXDOMAIN responses, so removed.
This commit is contained in:
parent
cf60872eae
commit
eaf6f1fed4
@ -186,11 +186,10 @@ else
|
|||||||
echo ""
|
echo ""
|
||||||
echo "What DNS do you want to use with the VPN?"
|
echo "What DNS do you want to use with the VPN?"
|
||||||
echo " 1) Current system resolvers"
|
echo " 1) Current system resolvers"
|
||||||
echo " 2) OpenDNS"
|
echo " 2) Google"
|
||||||
echo " 3) Level 3"
|
echo " 3) OpenDNS"
|
||||||
echo " 4) NTT"
|
echo " 4) NTT"
|
||||||
echo " 5) Hurricane Electric"
|
echo " 5) Hurricane Electric"
|
||||||
echo " 6) Google"
|
|
||||||
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 cert"
|
echo "Finally, tell me your name for the client cert"
|
||||||
@ -251,12 +250,12 @@ ifconfig-pool-persist ipp.txt" > /etc/openvpn/server.conf
|
|||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
echo 'push "dhcp-option DNS 208.67.222.222"' >> /etc/openvpn/server.conf
|
echo 'push "dhcp-option DNS 8.8.8.8"' >> /etc/openvpn/server.conf
|
||||||
echo 'push "dhcp-option DNS 208.67.220.220"' >> /etc/openvpn/server.conf
|
echo 'push "dhcp-option DNS 8.8.4.4"' >> /etc/openvpn/server.conf
|
||||||
;;
|
;;
|
||||||
3)
|
3)
|
||||||
echo 'push "dhcp-option DNS 4.2.2.2"' >> /etc/openvpn/server.conf
|
echo 'push "dhcp-option DNS 208.67.222.222"' >> /etc/openvpn/server.conf
|
||||||
echo 'push "dhcp-option DNS 4.2.2.4"' >> /etc/openvpn/server.conf
|
echo 'push "dhcp-option DNS 208.67.220.220"' >> /etc/openvpn/server.conf
|
||||||
;;
|
;;
|
||||||
4)
|
4)
|
||||||
echo 'push "dhcp-option DNS 129.250.35.250"' >> /etc/openvpn/server.conf
|
echo 'push "dhcp-option DNS 129.250.35.250"' >> /etc/openvpn/server.conf
|
||||||
@ -265,10 +264,6 @@ ifconfig-pool-persist ipp.txt" > /etc/openvpn/server.conf
|
|||||||
5)
|
5)
|
||||||
echo 'push "dhcp-option DNS 74.82.42.42"' >> /etc/openvpn/server.conf
|
echo 'push "dhcp-option DNS 74.82.42.42"' >> /etc/openvpn/server.conf
|
||||||
;;
|
;;
|
||||||
6)
|
|
||||||
echo 'push "dhcp-option DNS 8.8.8.8"' >> /etc/openvpn/server.conf
|
|
||||||
echo 'push "dhcp-option DNS 8.8.4.4"' >> /etc/openvpn/server.conf
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
echo "keepalive 10 120
|
echo "keepalive 10 120
|
||||||
comp-lzo
|
comp-lzo
|
||||||
|
Loading…
Reference in New Issue
Block a user