OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: Vincent on April 09, 2020, 03:58:44 pm

Title: Package request : adguardhome
Post by: Vincent on April 09, 2020, 03:58:44 pm
Hello,

I'm actually running adguard home to filter my DNS at home, and saw there's official freebsd support.
https://svnweb.freebsd.org/ports/head/www/adguardhome/

I would love to have it embedded in opnsense, that would allow me to get rid of 3rd party server just for it.
Could it be possible to have the package available for manual install ?

Thanks a lot and have a safe day
Vincent
Title: Re: Package request : adguardhome
Post by: mimugmail on April 09, 2020, 05:57:10 pm
This needs a subscription at adguardhome?
Title: Re: Package request : adguardhome
Post by: Vincent on April 10, 2020, 01:55:38 am
There is no subscription needed for it.

It's the locally hosted counterpart of their adguard DNS service.
More info : https://github.com/AdguardTeam/AdGuardHome

It's way more powerful than IP/domains lists since it can use filter grammar of popular adblocker (adblock, ublock, ...).
You can even enforce safe search for search engine, which is very useful for kids :-)

I'm using it so far since 9 months, and am pretty happy of it.
Cheers

Title: Re: Package request : adguardhome
Post by: Vincent on April 22, 2020, 10:03:33 pm
Hello,

Could it be possible to have a feedback on my request?
Positive one would be of course preferred, but any feedback would be appreciated.

Thanks and stay safe
Vincent
Title: Re: Package request : adguardhome
Post by: mimugmail on April 22, 2020, 10:06:36 pm
I have no plans, no idea if anyone else wants to jump in
Title: Re: Package request : adguardhome
Post by: Vincent on April 22, 2020, 10:37:30 pm
Just to clarify my request: i'm just asking for the base package available (through command line), not for a complete opnsense webui plugin.
Title: Re: Package request : adguardhome
Post by: mimugmail on April 23, 2020, 06:02:59 am
Then you need to add an issue in GitHub/Tools repo
Title: Re: Package request : adguardhome
Post by: franco on April 23, 2020, 07:54:34 am
# opnsense-code tools ports
# cd /usr/ports/www/adguardhome
# make install

It's a Go port, it will need to compile Go...


Cheers,
Franco
Title: Re: Package request : adguardhome
Post by: Vincent on April 23, 2020, 09:02:08 am
Thanks mimugmail and franco for your answers.

I'll follow your method franco.

Cheers
Title: Re: Package request : adguardhome
Post by: hushcoden on September 07, 2020, 08:15:39 pm
Just wondering if any plans to include it in a future release of OPNsense.

Tia.
Title: Re: Package request : adguardhome
Post by: franco on September 08, 2020, 09:51:17 pm
No official request, no plans...


Cheers,
Franco
Title: Re: Package request : adguardhome
Post by: RangerFX on November 24, 2020, 02:03:06 am
# opnsense-code tools ports
# cd /usr/ports/www/adguardhome
# make install

It's a Go port, it will need to compile Go...


Cheers,
Franco
hi

after this step I tried to run AdGuard Home when I access it through 192.168.1.1:3000 its shows a message with a 404 error and cannot proceed with the installation page. Any tips how to run this?

thanks
Title: Re: Package request : adguardhome
Post by: ebilan on December 12, 2020, 11:25:08 pm
# opnsense-code tools ports
# cd /usr/ports/www/adguardhome
# make install

It's a Go port, it will need to compile Go...


Cheers,
Franco
hi

after this step I tried to run AdGuard Home when I access it through 192.168.1.1:3000 its shows a message with a 404 error and cannot proceed with the installation page. Any tips how to run this?

thanks

I tried these steps myself and had the same result.
To get a working install I followed this (https://forums.freebsd.org/threads/guide-how-to-install-adguardhome-on-freebsd.75496/) guide from the freebsd forums on how to install AdGuard Home using the binary for freebsd supplied on AdGuards own site.

You have to modify the directory you download to and the start script as we don't have a /opt directory.  I just downloaded to the home directory and then moved the AdGuardHome dir to /

I use the same method when installing AdGuard Home on my OpenWRT based router.
Title: Re: Package request : adguardhome
Post by: hushcoden on January 01, 2021, 10:44:20 pm
No official request, no plans...
Can you please point me to where I should submit the request?

Thanks.
Title: Re: Package request : adguardhome
Post by: Pocket_Sevens on January 07, 2021, 04:54:43 am
This package looks fascinating.  So, does this package replace Unbound or is it used in conjunction with Unbound? 
Title: Re: Package request : adguardhome
Post by: mimugmail on January 07, 2021, 10:27:24 pm
The FreeBSD port is really poor maintained
Title: Re: Package request : adguardhome
Post by: hushcoden on January 08, 2021, 03:25:19 pm
This package looks fascinating.  So, does this package replace Unbound or is it used in conjunction with Unbound?
Have a read here: https://dev.to/cipherops/how-to-use-unbound-with-adguard-home-1o5n
Title: Re: Package request : adguardhome
Post by: Georges on January 08, 2021, 03:53:34 pm
BOOM

https://twitter.com/mimu_muc/status/1347432900640333825

"AdGuardHome on
@opnsense
 .. a fancy PiHole alternative, seems I need to build a plugin around it :)"
Title: Re: Package request : adguardhome
Post by: hushcoden on January 08, 2021, 04:10:51 pm
Nice one  8)  and thanks mimugmail
Title: Re: Package request : adguardhome
Post by: sp33dy on March 10, 2021, 02:25:48 pm
i think i saw some post about adguardhome not starting after reboot but i cant find that post anymore

anyhow adguard does not start after reboot (no difference after todays update)

any idea on that?
Title: Re: Package request : adguardhome
Post by: Patrick M. Hausen on March 10, 2021, 02:29:33 pm
anyhow adguard does not start after reboot (no difference after todays update)

any idea on that?
Another nameserver (Unbound, BIND, ...) already listening on the port you want to use for AdGuard?
Title: Re: Package request : adguardhome
Post by: sp33dy on March 10, 2021, 03:38:36 pm
no, just using adguard as dns

it will start just fine if i start it with "services" on the dashboard, it just wont start automatic
Title: Re: Package request : adguardhome
Post by: sp33dy on March 11, 2021, 12:55:25 pm
i´m i the only one with problems in automaticly starting adguardhome service after reboot?

went back to unbound and that starts without any prb
Title: Re: Package request : adguardhome
Post by: mimugmail on March 11, 2021, 02:51:21 pm
Did you have a look at the console during startup?
Title: Re: Package request : adguardhome
Post by: CatWisel on March 12, 2021, 06:07:18 pm
Hi @sp33dy

can you change to the installation directory of AdGuardHome?

==> cd /usr/local/AdGuardHome

There you can check if the service is running:

==> ./AdGuardHome -s status

If not you can install it:

==> ./AdGuardHome -s install

That might solve your issue