OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: logi on September 08, 2024, 09:14:09 PM

Title: Official guide to install the AdGuard Home plug in
Post by: logi on September 08, 2024, 09:14:09 PM
I didn't find the AdGuard Home plug in on a fresh OPNsense installation, is there an official OPNsense guide to add it, thanks

NOTE: sorry for the basic question, new to OPNsense
Title: Re: Official guide to install the AdGuard Home plug in
Post by: Patrick M. Hausen on September 08, 2024, 09:23:44 PM
You need to add the community repository:

https://www.routerperformance.net/opnsense-repo/
Title: Re: Official guide to install the AdGuard Home plug in
Post by: Monviech (Cedrik) on September 08, 2024, 09:24:22 PM
If you just want some basic adblocking you can enable a Blocklist in Unbound, its already there.

Just go to "Services: Unbound DNS: Blocklist" and select "Enable", choose the "AdGuard List" and any other additional one, e.g. "Steven Black List" and press Apply. Done.
Title: Re: Official guide to install the AdGuard Home plug in
Post by: logi on September 08, 2024, 09:49:30 PM
Quote from: Monviech on September 08, 2024, 09:24:22 PM
If you just want some basic adblocking you can enable a Blocklist in Unbound, its already there.

Just go to "Services: Unbound DNS: Blocklist" and select "Enable", choose the "AdGuard List" and any other additional one, e.g. "Steven Black List" and press Apply. Done.

Great, thank you, apart from AdGuard List, do you have a recommended one? I used HaGeZi Pro++ before with AdGuard Home
Title: Re: Official guide to install the AdGuard Home plug in
Post by: logi on September 08, 2024, 11:41:04 PM
Quote from: Monviech on September 08, 2024, 09:24:22 PM
If you just want some basic adblocking you can enable a Blocklist in Unbound, its already there.

Just go to "Services: Unbound DNS: Blocklist" and select "Enable", choose the "AdGuard List" and any other additional one, e.g. "Steven Black List" and press Apply. Done.

Added Steve's blacklist, enable it, but is only blocking 60%, same blocklist on Adguard Home blocks more than 90%, I think I am missing a setting or configuration, thoughts? Thanks
Title: Re: Official guide to install the AdGuard Home plug in
Post by: Monviech (Cedrik) on September 09, 2024, 07:07:25 AM
Is there any measurable than just these estimations?

Can you say a domain that is not blocked, but is part of the Steven Black List for example?
Title: Re: Official guide to install the AdGuard Home plug in
Post by: doktornotor on September 09, 2024, 09:00:39 AM
Straight from the horse's mouth - I turned off DNS and had 100% blocked.  8)  :P
Title: Re: Official guide to install the AdGuard Home plug in
Post by: logi on September 09, 2024, 07:05:57 PM
Quote from: Monviech on September 09, 2024, 07:07:25 AM
Is there any measurable than just these estimations?

Can you say a domain that is not blocked, but is part of the Steven Black List for example?

I am using this utility (link below) to check ad blocking performance, I don't know if its the best or accurate though, feedback is appreciated, thanks a lot

https://d3ward.github.io/toolz/adblock

With Steven Black I get around 65%
With Hagezi Pro ++ I get 93%+
Title: Re: Official guide to install the AdGuard Home plug in
Post by: doktornotor on September 09, 2024, 07:16:52 PM
Quote from: logi on September 09, 2024, 07:05:57 PM
With Steven Black I get around 65%
With Hagezi Pro ++ I get 93%+

Well, that is awesome, except that it's completely irrelevant when comparing blocking performance of different resolvers with identical blocklists...

Quote
Added Steve's blacklist, enable it, but is only blocking 60%, same blocklist on Adguard Home blocks more than 90%
Title: Re: Official guide to install the AdGuard Home plug in
Post by: logi on September 09, 2024, 07:21:11 PM
Yes, sorry, I mixed things a little bit here, the latest measurements (65% and 93%+) are within OPNsense UnGuard DNS blocklist only, comparing the two blocklists, no Adguard Home involved.
Title: Re: Official guide to install the AdGuard Home plug in
Post by: Monviech (Cedrik) on September 09, 2024, 07:53:23 PM
I get 93% in that test just with Steves Blacklist, so maybe there is some RNG in there. 1d20
Title: Re: Official guide to install the AdGuard Home plug in
Post by: logi on September 09, 2024, 07:56:03 PM
Quote from: Monviech on September 09, 2024, 07:53:23 PM
I get 93% in that test just with Steves Blacklist, so maybe there is some RNG in there. 1d20

I will try again with Steve's blacklist, maybe yesterday I didn't properly flush DNS cache, I will give it more time to settle, thank you for the feedback
Title: Re: Official guide to install the AdGuard Home plug in
Post by: logi on September 09, 2024, 10:09:55 PM
Quote from: Monviech on September 08, 2024, 09:24:22 PM
If you just want some basic adblocking you can enable a Blocklist in Unbound, its already there.

Just go to "Services: Unbound DNS: Blocklist" and select "Enable", choose the "AdGuard List" and any other additional one, e.g. "Steven Black List" and press Apply. Done.

I have seen some online articles (link below) where they will define a FW rule (NAT) to ensure everything goes through OPNsense/UnBound DNS, is it really necessary? Thanks

https://forum.opnsense.org/index.php?topic=9245.0
Title: Re: Official guide to install the AdGuard Home plug in
Post by: cookiemonster on September 09, 2024, 11:29:52 PM
@logi , must you ask the same question on every thread you come across, related or not?
Please don't pollute threads. You've created your thread with your question. Wait for an answer there please.