OPNsense Forum

English Forums => General Discussion => Topic started by: ssying yy on August 22, 2022, 07:54:02 PM

Title: Hi, Question about Ad blocking.
Post by: ssying yy on August 22, 2022, 07:54:02 PM
Hi, First post, just started using opnsense for Home use,
I've been using pfsense in production at work, i also have very limited experience with networks.
just got my hands on a very old centrum gi945 thinclient . so far the basic operation is fine, but ive been looking for adblocking with opnsense,

I have looked at sensei but the basic requirement is 8gb ram and the thinclient only has 1Gb with an atom 270

any suggestions?
thanks.
Betflik (https://betflik13.com/)
Title: Re: Hi, Question about Ad blocking.
Post by: Patrick M. Hausen on August 22, 2022, 07:59:29 PM
AdGuard Home. You need to activate the community repository for that:
https://www.routerperformance.net/opnsense-repo/
Title: Re: Hi, Question about Ad blocking.
Post by: aida on August 23, 2022, 07:08:40 AM
Quote from: ssying yy on August 22, 2022, 07:54:02 PM
so far the basic operation is fine, but ive been looking for adblocking with opnsense

I've been thinking about doing this with a pi-hole (https://pi-hole.net/blog/2021/09/30/pi-hole-and-opnsense/). I don't really like that pi-hole is in python as opposed to go, and requires root. I did see blocky (https://0xerr0r.github.io/blocky/) which is small and stand-a-lone Go executable, (like Adguard Home), however it has no integration to opnsense. This video (https://www.youtube.com/watch?v=rfBh2VVOVZA&t=539s) has performance metrics for the three options.

Then there's pfblocker, which can be used with opnsense (https://www.routerperformance.net/opnsense/using-pfblocker-features-in-opnsense/). It looks like it integrates nicely. I found this video Lawrence Tech video which shows it with pfsense (https://www.youtube.com/watch?v=6wToQrcvkF8), however adding those rules to pf may impact performance as there's a lot of rules.
Title: Re: Hi, Question about Ad blocking.
Post by: gspannu on March 17, 2024, 12:17:01 AM
Quote from: aida on August 23, 2022, 07:08:40 AM
Quote from: ssying yy on August 22, 2022, 07:54:02 PM
so far the basic operation is fine, but ive been looking for adblocking with opnsense

I've been thinking about doing this with a pi-hole (https://pi-hole.net/blog/2021/09/30/pi-hole-and-opnsense/). I don't really like that pi-hole is in python as opposed to go, and requires root. I did see blocky (https://0xerr0r.github.io/blocky/) which is small and stand-a-lone Go executable, (like Adguard Home), however it has no integration to opnsense. This video (https://www.youtube.com/watch?v=rfBh2VVOVZA&t=539s) has performance metrics for the three options.

Then there's pfblocker, which can be used with opnsense (https://www.routerperformance.net/opnsense/using-pfblocker-features-in-opnsense/). It looks like it integrates nicely. I found this video Lawrence Tech video which shows it with pfsense (https://www.youtube.com/watch?v=6wToQrcvkF8), however adding those rules to pf may impact performance as there's a lot of rules.

A pcustom plugin for blocky is available at https://github.com/gspannu/OPNsense-Plugins/