mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-03-04 00:01:12 -05:00
Custom blocklist per-client #5781
Labels
No labels
P1: Critical
P2: High
P3: Medium
P4: Low
UI
bug
cannot reproduce
compatibility
dependencies
docker
documentation
duplicate
enhancement
enhancement
external libs
feature request
good first issue
help wanted
infrastructure
invalid
localization
needs investigation
performance
potential-duplicate
question
recurrent
research
snap
waiting for data
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AdGuardHome#5781
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DevonTM on GitHub (Sep 23, 2025).
Prerequisites
I have checked the Wiki and Discussions and found no answer
I have searched other issues and found no duplicates
I want to request a feature or enhancement and not ask a question
The problem
I would like to use a different blocklist for specific clients instead of only relying on the global setting. For example, I want to create a client profile for children and apply this blocklist to block adult sites.
Proposed solution
Add an option (e.g., a new tab or section) in the client settings to specify custom blocklists.
Alternatives considered and additional information
No response
@PANICBUTT0N commented on GitHub (Sep 23, 2025):
Seconding this request. There are several domains and services I would like to block on my smart TV that I would still like to be able to access on other devices.
@Dynamic5912 commented on GitHub (Sep 23, 2025):
Use custom filtering rules with clientID's or ctag's to block the domains on those devices only
@PANICBUTT0N commented on GitHub (Sep 23, 2025):
This is much less convenient, though. The whole point of blocklists is to be able to have a regularly updated repository of domains to block, instead of regularly manually pasting in hundreds of thousands of lines of custom filters. If global blocklists are supported, I don't see why per-client blocklists is an unreasonable request.
@theschles commented on GitHub (Sep 23, 2025):
@Dynamic5912 please explain to me how per-client-blocking is supposed to work -- because at this point, IT'S NOT WORKING.
AdguardHome Version: v0.107.66
My current blocklist
@@||google.com^$important @@||accounts.youtube.com^$important ||agenciamaisvoce.com^$important ||caterhamcars.com^$important ||daimleragemea.germany-2.evergage.com^$important ||doodle4google.com^$important ||doodles.google.com^$important ||doodles.google^$important ||eavesdropthenashame.com^$important ||f1.com^$important ||ferrari.com^$important ||formula1.com^$important ||formulaonedigitalmedia.germany-2.evergage.com^$important ||games.googleapis.com^$important ||gameswhitelisted.googleapis.com^$important ||lamborghini.com^$important ||mclaren.com^$important ||morgan-motor.com^$important ||play.googleapis.com^$important ||porsche.cloud^$important ||porsche.com^$important ||porsche.matomo.cloud^$important ||tiktok.com^$important ||watchliveformula1.com^$important ||withgoogle.com^$importantAs you might have guessed from the above list, my son Morgan is obsessed with high-speed automotive racing -- to the detriment of his homework and grades.
He has a school Chromebook -- which is why I have to allow-list google.com and accounts.youtube.com -- or he can't log into his school account.
I have a Client named 'Morgan' -- with the Chromebook's DHCP reserved IP address listed in the Identifier list.
The above block-list works -- I verify this at the bottom of the "Custom filtering rules" page in the 'Check the filtering' section.
However, it blocks ALL Clients on the network for the above sites. I just want it to block Morgan's computers for the above site list.
I've tried to just specify the Client 'Morgan' for the above, e.g.:
||caterhamcars.com^$important,client='Morgan'or
||caterhamcars.com^$client='Morgan',importantAnd in either case,
caterhamcars.comis then NO LONGER BLOCKED FOR ANY CLIENT on the the network -- which I can confirm with the 'Check the filtering' section on the bottom of the 'Custom blocking rules' page.HELP!?!?
@Dynamic5912 commented on GitHub (Sep 24, 2025):
Is the client saved as a persistent client in AGH?
@theschles commented on GitHub (Sep 24, 2025):
@Dynamic5912 Yes
@Dynamic5912 commented on GitHub (Sep 24, 2025):
Being a Chromebook - can you even see DNS logs for it in AGH?
It could have DOH set at the OS or Browser level that's bypassing your AGH
@theschles commented on GitHub (Sep 24, 2025):
@Dynamic5912 yes his query history is there -- that's how I know what sites to block.
BTW:
@theschles commented on GitHub (Sep 24, 2025):
@Dynamic5912 if you'd like to see it with your own two eyes, I can set up a screenshare. Today I'm available for the next 2-1/2 hours (until 18:00 Pacific). I can publish a Zoom / Google Meet / pick-your-preferred-screenshare-link here at a private repo that's only accessible to the two of us.
@theschles commented on GitHub (Sep 25, 2025):
@Dynamic5912 I'm available most of the day if you'd like me to set up a screenshare.
@Dynamic5912 commented on GitHub (Sep 25, 2025):
Add a client identifier to the persistent device with the same name as the device name.
Then see if the blocking rule works.
@theschles commented on GitHub (Sep 26, 2025):
By "device name", do you mean
hostname?And you're suggesting to add that "device name" (
hostname) to the "Identifiers" section for his particular client -- which currently has the IP addresses for his Chromebook and his personal laptop?Or are you suggesting that the "Custom filtering rule" be along the lines of:
||caterhamcars.com^$important,client='<hostname>'or
||caterhamcars.com^$important,client='<IP address of his Chromebook>'?
@Dynamic5912 commented on GitHub (Sep 26, 2025):
Add as an identifier to the client, yes
@hero-rareheart commented on GitHub (Oct 15, 2025):
This isn't going to show up because GitHub is stupid and shadow banned my account for nothing, but I also would like this feature. I have a specific client I want following a whitelist and all the other clients following a set of blacklists.
@theschles commented on GitHub (Oct 21, 2025):
Hi @hero-rareheart -- I can see your post
@mostpinkest commented on GitHub (Nov 10, 2025):
Possible duplicate of #435
@fegauthier-paragon commented on GitHub (Mar 2, 2026):
I did a PR for that feature.
https://github.com/AdguardTeam/AdGuardHome/pull/8274