Skip to content

AdGuard Block List & Allow lists AdGuard 封鎖列表和允許列表

Notifications You must be signed in to change notification settings

hpware/adguard-block-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AdGuard Block List & Allow lists

中文 English

Block Lists

Allow Lists

How to install?

Install OS

The options here are for self hosting. However if you only have a few computers or have no abilty to use linux, use the cloud
I would like to recommend Vultr's 5$ plan, The link below will be a Referer link.
https://www.vultr.com/media/logo_onwhite.png

Vultr

  1. Click on the Deploy Button
  2. Select the Shared CPU option
  3. Select the closest location to you.
  4. Select your OS, Ubuntu will be the one.
  5. Select Regular Cloud Compute.
  6. Select 25GB SSD as you don't need more space, as long as you don't store a lot of logs.
  7. Ignore the offer
  8. Disable auto backups, you just don't need it.
  9. Then click on Deploy.
  10. Wait until sucess.
    Then run the commands below.

Local Install


AdGuard Home is better run with debian, but for ease of install we will be installing Ubuntu.
First, Download the GUI verison here you MUST download the LTS version to be updated.
Second, Follow the GUI.

Install AdGuard Home

ssh into the remote or local server via ssh user@ip
Follow the offical guide Here or run the Following commands

  • To install via curl:
sudo apt update
sudo apt install curl -y
curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v
  • To install via wget
sudo apt update
sudo apt install wget -y
wget --no-verbose -O - https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v

Follow the install

  1. Run the commands below
sudo ufw allow 80 && sudo ufw allow 3000 && sudo ufw allow 443
  1. Go to http://ip:3000
  2. Click on Get Started
  3. Ignore everything, Click next
  4. Enter your username and password. You are free to use what ever you like, just don't use weak passwords ;)
  5. Click Next then Open Dashboard, you should be logged out.
  6. Login with your username and password you just set earlier.
  7. Go to Filters then DNS Blocklists
  8. Click on the add block list and Click add custom Block list.
  9. Enter any name and the URL should be the URLs on the top
  10. Click Save
    Congrats, you have just finished!

DNS over HTTPS

  1. Buy a domain or use a domain that you own.
  2. Click on Settings and Encryption Settings
  3. Click enable encryption, if you are using the public cloud, I would recommend unchecking the plain DNS option, as your bandwidth will be used by other people.
  4. Enter your domain it should be like subdomain.example.com and check redirect to HTTPS automattically, and note, do not change any of the ports.
  5. Go back to the server ssh window run these commands
sudo apt update
sudo apt install snap -y
sudo snap install certbot --classic
sudo certbot certonly
  1. Select the second option by typing 2 and enter
  2. Type your email
  3. Agree to the terms and Newsletter
  4. type your domain which you set earlier
  5. It will give you two paths, copy these and paste into the dashboard
  6. And Sucess!
    NOTE: If there is any errors, ignore and go back to disable the encryption if needed.

About

AdGuard Block List & Allow lists AdGuard 封鎖列表和允許列表

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published