AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

http/s block

Open destroymenow71 opened this issue 1 year ago • 12 comments

Prerequisites

  • [x] I have checked the Wiki and Discussions and found no answer

  • [x] I have searched other issues and found no duplicates

  • [x] I want to request a feature or enhancement and not ask a question

The problem

Good day! Please tell me, is it possible to block Internet access to all computers, with the exception of one, but so that the excluded computer would work filtering rules from the blacklist and user rules using adguard home? I solved this issue like this: I banned access to top-level domains, made an exception rule for one PC, but at the same time DNS blacklists stopped working, since they are in the .ru .com.net zone. Can you tell me if there is any other solution?

Proposed solution

Add buttton like "Disable internet acces" or "Block all http/https requests" in client settings

Alternatives considered and additional information

No response

destroymenow71 avatar Aug 07 '25 11:08 destroymenow71

Use the client allow/deny list...??

Dynamic5912 avatar Aug 07 '25 11:08 Dynamic5912

Custom filtering rules use only

||pro^$denyallow=keenetic.pro ||.io^denyallow=adguard-dns.io ||.ua^ ||.de^ ||.fr^ ||.se^ ||.cn^ ||.cz^ ||.ws^ ||.show^ ||.watch^

destroymenow71 avatar Aug 07 '25 11:08 destroymenow71

Are you wanting to block access to internet/dns via AGH to all but one PC?

Dynamic5912 avatar Aug 07 '25 12:08 Dynamic5912

True, but I also wanted DNS blacklists for this computer to work.

destroymenow71 avatar Aug 07 '25 12:08 destroymenow71

So add it to the device allowlist.

This will block all other devices except for that one.

Dynamic5912 avatar Aug 07 '25 12:08 Dynamic5912

Can you tell me where i can find it? Is it client settings in main settings?

destroymenow71 avatar Aug 07 '25 12:08 destroymenow71

Settings - DNS Settings - Access Settings - Allowed Clients

Dynamic5912 avatar Aug 07 '25 12:08 Dynamic5912

Oh THNX so mutch!

destroymenow71 avatar Aug 07 '25 12:08 destroymenow71

You do realize that it is nearly impossible to block internet access only through a DNS server, right?

You'd need to block at the firewall level too, which would probably be more effective anyway... If you do not specifically block all DNS (UDP/TCP, DOT, DOQ) they'd be able to just point at any other DNS. And even with blocking, it is almost impossible to block DOH, unless you have a MITM proxy, but then I'd just block on there instead to begin with...

FearNaBoinne avatar Aug 12 '25 10:08 FearNaBoinne

Yeah i understand that. I mean http/https web serfing.

destroymenow71 avatar Aug 13 '25 09:08 destroymenow71

Yeah i understand that. I mean http/https web serfing.

AGH would restrict everything Domain name based, though, not just http/https... Again, a firewall or proxy (or both) would be better suited for that. Block outbound traffic on all ports, only open up dedicated hosts/ports as needed, force all web traffic through a filtering proxy. And even if you intend to only let that one host out, and keep the rest contained, a firewall would still be better suited for enforcing that goal.

FearNaBoinne avatar Aug 13 '25 09:08 FearNaBoinne

@destroymenow71 Hello, can you tell me if this feature request is relevant or are the examples described above sufficient to solve your question?

GulnazSalakhova avatar Jun 18 '26 09:06 GulnazSalakhova