mirror of
				https://github.com/angristan/openvpn-install.git
				synced 2025-10-31 05:57:36 +01:00 
			
		
		
		
	Add AdGuard DNS
This commit is contained in:
		| @@ -223,8 +223,9 @@ else | ||||
| 	echo "   4) OpenDNS (Anycast: worldwide)" | ||||
| 	echo "   5) Google (Anycast: worldwide)" | ||||
| 	echo "   6) Yandex Basic (Russia)" | ||||
| 	while [[ $DNS != "1" && $DNS != "2" && $DNS != "3" && $DNS != "4" && $DNS != "5" && $DNS != "6" ]]; do | ||||
| 		read -p "DNS [1-6]: " -e -i 1 DNS | ||||
| 	echo "   7) AdGuard DNS (Russia)" | ||||
| 	while [[ $DNS != "1" && $DNS != "2" && $DNS != "3" && $DNS != "4" && $DNS != "5" && $DNS != "6" && $DNS != "7" ]]; do | ||||
| 		read -p "DNS [1-7]: " -e -i 1 DNS | ||||
| 	done | ||||
| 	echo "" | ||||
| 	echo "See https://github.com/Angristan/OpenVPN-install#encryption to learn more about " | ||||
| @@ -471,6 +472,10 @@ ifconfig-pool-persist ipp.txt" >> /etc/openvpn/server.conf | ||||
| 		echo 'push "dhcp-option DNS 77.88.8.8"' >> /etc/openvpn/server.conf | ||||
| 		echo 'push "dhcp-option DNS 77.88.8.1"' >> /etc/openvpn/server.conf | ||||
| 		;; | ||||
| 		7) #AdGuard DNS | ||||
| 		echo 'push "dhcp-option DNS 176.103.130.130"' >> /etc/openvpn/server.conf | ||||
| 		echo 'push "dhcp-option DNS 176.103.130.131"' >> /etc/openvpn/server.conf | ||||
| 		;; | ||||
| 	esac | ||||
| echo 'push "redirect-gateway def1 bypass-dhcp" '>> /etc/openvpn/server.conf | ||||
| echo "crl-verify crl.pem | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Angristan
					Angristan