Skip to content
forked from DigneZzZ/dwg-ui

Combination Wireguird + Adguard Home + Unbound (DoH include)

Notifications You must be signed in to change notification settings

cofob/ad-wireguard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ad-WireGuard with UI = AdGuard with DoH DNS + Wireguard with UI (wg-easy) + Unbound

Combination WireGuard (wg-easy latest) + Adguard Home + Unbound (Latest)

Here is the start of combination

Requirings:

  • 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

I do not recommend the VPS service: aeza.net

Autors:

👤 ** Alexey **

👤 ** Dmitriy **

Wireguard-Easy Web-UI

image

Adguard Web-UI

image

Quick Install

  1. Clone the git and edit install-script
git clone https://github.com/dignezzz/ad-wireguard.git
cd ad-wireguard && nano docker-compose.yml
  1. Change admin password: see comments

  2. Then run

docker-compose up -d

After Installation

WG-Easy web-ui:

yo.ur.ip.xx:51821 And type password from script.

Then.. Connect to WireGuard!

AGH

After ur connection to WG:

Go to: http:https://10.2.0.100/

Login: admin

Password: a12345678

ATTENTION! Change admin username and/or password

First way:

  1. On the server:
sudo apt install apache2-utils 
htpasswd -nbB admin 'MyNewPassword'
  1. Open ur configuration file of AGH:
nano ../ad-wireguard/conf/AdGuardHome.yaml
  1. Change for NEW Name and Password:
users:
  - name: admin
    password: $2y$10$G7Qu8Y3szepMfaRUyQ.FmuKR.n4U9dHOQm.GgrIMuYC9UP8vmHJri
  1. Recreate your container:
docker-compose up -d --force-recreate

Second way:

  1. Go to site: https://hostingcanada.org/htpasswd-generator/
  2. Change Mode: bcrypt
  3. Enter new Username and Password
  4. Open ur configuration file of AGH:
nano ../ad-wireguard/conf/AdGuardHome.yaml
  1. Change Name and Password:
users:
  - name: admin
    password: $2y$10$G7Qu8Y3szepMfaRUyQ.FmuKR.n4U9dHOQm.GgrIMuYC9UP8vmHJri
  1. Recreate your container:
docker-compose up -d --force-recreate

Full information from AGH site: https://docs.cloudron.io/apps/adguard-home/

Adlists:

RU-Adlist

https://easylist-downloads.adblockplus.org/advblock.txt

BitBlock

https://easylist-downloads.adblockplus.org/bitblock.txt

Cntblock

https://easylist-downloads.adblockplus.org/cntblock.txt

EasyList

https://easylist-downloads.adblockplus.org/easylist.txt

Upstream DNS-Servers

About default DNS

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.

All DNS Servers

https://adguard-dns.io/kb/general/dns-providers/#cloudflare-dns

DNS Perfomance list:

https://www.dnsperf.com/#!dns-resolvers

About

Combination Wireguird + Adguard Home + Unbound (DoH include)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published