Combination WireGuard (wg-easy latest) + Adguard Home + Unbound (Latest)
Here is the start of combination
- Docker
- Docker-compose
These confinguration of AdGuard include DNS-over-HTTPS (DoH) via Cloudflare service by using DNS: https://cloudflare-dns.com/dns-query Fow query to CF-DNS using Unbound. This is some type of DNS forwarding.
Recomendation VPS Hosting with 10% Discount: VDSina.ru
👤 ** Alexey **
- Git: DigneZzZ
- Site: OpeNode.RU
👤 ** Dmitriy **
- Git Nubortg
- Clone the git and edit install-script
git clone https://github.com/dignezzz/ad-wireguard.git
cd ad-wireguard && nano docker-compose.yml
-
Change admin password: see comments
-
Then run
docker-compose up -d
yo.ur.ip.xx:51821 And type password from script.
Then.. Connect to WireGuard!
Go to: http:https://10.2.0.100/
- On the server:
sudo apt install apache2-utils
htpasswd -nbB admin 'MyNewPassword'
- Open ur configuration file of AGH:
nano ../ad-wireguard/conf/AdGuardHome.yaml
- Change for NEW Name and Password:
users:
- name: admin
password: $2y$10$G7Qu8Y3szepMfaRUyQ.FmuKR.n4U9dHOQm.GgrIMuYC9UP8vmHJri
- Recreate your container:
docker-compose up -d --force-recreate
- Go to site: https://hostingcanada.org/htpasswd-generator/
- Change Mode: bcrypt
- Enter new Username and Password
- Open ur configuration file of AGH:
nano ../ad-wireguard/conf/AdGuardHome.yaml
- Change Name and Password:
users:
- name: admin
password: $2y$10$G7Qu8Y3szepMfaRUyQ.FmuKR.n4U9dHOQm.GgrIMuYC9UP8vmHJri
- Recreate your container:
docker-compose up -d --force-recreate
Full information from AGH site: https://docs.cloudron.io/apps/adguard-home/
https://easylist-downloads.adblockplus.org/advblock.txt
https://easylist-downloads.adblockplus.org/bitblock.txt
https://easylist-downloads.adblockplus.org/cntblock.txt
https://easylist-downloads.adblockplus.org/easylist.txt
The unencrypted 1.1.1.1 is fine if you're sure the connection between your AGH instance and Cloudflare DNS won't be tampered. Otherwise use the encrypted endpoint, either https://cloudflare-dns.com/dns-query for unfiltered query or https://security.cloudflare-dns.com/dns-query for malware filtering. Note that ECH doesn't work if you're using unencrypted upstream.
https://adguard-dns.io/kb/general/dns-providers/#cloudflare-dns