mirror of
https://github.com/Nyr/openvpn-install.git
synced 2024-11-28 07:56:07 +03:00
Remove logs and add FDN's DNS servers
This commit is contained in:
parent
8d95e922ce
commit
efdd53c79f
@ -191,7 +191,8 @@ else
|
||||
echo " 2) Google"
|
||||
echo " 3) OpenDNS"
|
||||
echo " 4) NTT"
|
||||
echo " 5) Hurricane Electric"
|
||||
echo " 5) FDN"
|
||||
echo " 6) Hurricane Electric"
|
||||
read -p "DNS [1-6]: " -e -i 1 DNS
|
||||
echo ""
|
||||
echo "Finally, tell me your name for the client cert"
|
||||
@ -264,6 +265,10 @@ ifconfig-pool-persist ipp.txt" > /etc/openvpn/server.conf
|
||||
echo 'push "dhcp-option DNS 129.250.35.251"' >> /etc/openvpn/server.conf
|
||||
;;
|
||||
5)
|
||||
echo 'push "dhcp-option DNS 80.67.169.12"' >> /etc/openvpn/server.conf
|
||||
echo 'push "dhcp-option DNS 80.67.169.40"' >> /etc/openvpn/server.conf
|
||||
;;
|
||||
6)
|
||||
echo 'push "dhcp-option DNS 74.82.42.42"' >> /etc/openvpn/server.conf
|
||||
;;
|
||||
esac
|
||||
@ -271,8 +276,6 @@ ifconfig-pool-persist ipp.txt" > /etc/openvpn/server.conf
|
||||
comp-lzo
|
||||
persist-key
|
||||
persist-tun
|
||||
status openvpn-status.log
|
||||
verb 3
|
||||
crl-verify crl.pem" >> /etc/openvpn/server.conf
|
||||
# Enable net.ipv4.ip_forward for the system
|
||||
if [[ "$OS" = 'debian' ]]; then
|
||||
@ -364,8 +367,7 @@ nobind
|
||||
persist-key
|
||||
persist-tun
|
||||
remote-cert-tls server
|
||||
comp-lzo
|
||||
verb 3" > /etc/openvpn/client-common.txt
|
||||
comp-lzo" > /etc/openvpn/client-common.txt
|
||||
# Generates the custom client.ovpn
|
||||
newclient "$CLIENT"
|
||||
echo ""
|
||||
|
Loading…
Reference in New Issue
Block a user