| Port details |
- adguardhome Network-wide ads & trackers blocking DNS server
- 0.107.78_3 www
=5 0.107.77_4Version of this port present on the latest quarterly branch. - Maintainer: yuri@FreeBSD.org
 - Port Added: 2020-03-13 16:01:35
- Last Update: 2026-09-03 04:50:55
- Commit Hash: dd09051
- People watching this port, also watch:: tmux, scrot, mkvtoolnix, python311
- License: GPLv3
- WWW:
- https://adguard.com/en/adguard-home/overview.html
- https://github.com/AdguardTeam/AdGuardHome
- Description:
- AdGuard Home is a network-wide software for blocking ads & tracking. After you
set it up, it'll cover ALL your home devices, and you don't need any client-side
software for that. With the rise of Internet-Of-Things and connected devices, it
becomes more and more important to be able to control your whole network.
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
-
- Dependency lines:
-
- adguardhome>0:www/adguardhome
- To install the port:
- cd /usr/ports/www/adguardhome/ && make install clean
- To add the package, run one of these commands:
- pkg install www/adguardhome
- pkg install adguardhome
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: adguardhome
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1784011793
SHA256 (go/www_adguardhome/adguardhome-v0.107.78/AdGuardHome_frontend.tar.gz) = 084bf3e00ca3e49487fc5a87270b4e1eb26617710ca6116b9e42ce90cb1ad358
SIZE (go/www_adguardhome/adguardhome-v0.107.78/AdGuardHome_frontend.tar.gz) = 2579132
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- go126 : lang/go126
- Runtime dependencies:
-
- ca_root_nss>=0 : security/ca_root_nss
- Fetch dependencies:
-
- go126 : lang/go126
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- www_adguardhome
- USES:
- cpe go:1.26+,modules zip
- pkg-message:
- For install:
- You installed AdGuardHome: Network-wide ads & trackers blocking DNS server.
AdGuardHome is configured to run as the 'unbound' user. By default,
non-root users cannot bind to privileged ports like 53 (DNS).
To allow AdGuardHome to function, choose one of the following options:
OPTION A: Using the 'portacl' service (Recommended for simplicity)
1. Install the portacl package:
# pkg install portacl
2. Add these lines to /etc/rc.conf:
portacl_enable="YES"
portacl_users="unbound"
portacl_user_unbound_tcp="domain 853"
portacl_user_unbound_udp="domain"
3. Start the service to apply rules immediately:
# service portacl start
---
OPTION B: Manual Configuration (Base system only)
1. Load the required kernel module:
# kldload mac_portacl
2. Apply the following sysctl rules (replace 59 with 'id -u unbound' if different):
# sysctl net.inet.ip.portrange.reservedhigh=0
# sysctl security.mac.portacl.port_high=1024
# sysctl security.mac.portacl.rules=uid:59:tcp:53,uid:59:udp:53,uid:59:tcp:853
3. To make this persistent, add mac_portacl_load="YES" to /boot/loader.conf
and the sysctl rules to /etc/sysctl.conf.
---
FINAL STEPS:
Enable and start AdGuardHome:
# sysrc adguardhome_enable="YES"
# service adguardhome start
Then complete the setup via the web interface at http://localhost:3000/
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
0.107.0.b.7_2 05 Apr 2022 04:23:05
    |
Guangyuan Yang (ygy)  |
www/adguardhome: Fix build
adguardhome has a dependency which does not support go 1.18 yet. Use
1.17 for now.
PR: 262994
Reported by: Yonas Yanfa <yonas.yanfa@gmail.com>
Approved by: portmgr (implicit, build fix) |
0.107.0.b.7_1 30 Mar 2022 07:01:44
    |
Guangyuan Yang (ygy)  |
*/*: Bump PORTREVISION after lang/go 1.18 update |
0.107.0.b.7 30 Sep 2021 15:14:16
    |
Bernhard Froehlich (decke)  |
www/adguardhome: Add CPE information
Approved by: portmgr (blanket) |
0.107.0.b.7 11 Aug 2021 18:59:19
    |
Yuri Victorovich (yuri)  |
www/adguardhome: Update 0.106.3 -> 0.107.0-b.7
This fixes:
* the local distfile mismatch (bug#257766)
* the broken fronend problem (it wasn't built properly and causes the '404 page
not found' error)
PR: 257766
Reported by: Michiel van Baak <michiel@vanbaak.eu> |
0.106.3 20 May 2021 06:02:27
    |
Yuri Victorovich (yuri)  |
www/adguardhome: Update 0.106.2 -> 0.106.3
Reported by: portscout |
0.106.2 07 May 2021 08:59:46
    |
Yuri Victorovich (yuri)  |
www/adguardhome: Update 0.106.1 -> 0.106.2
Reported by: portscout |
0.106.1 02 May 2021 19:07:16
    |
Yuri Victorovich (yuri)  |
www/adguardhome: Update 0.106.0 -> 0.106.1 |
0.106.0 29 Apr 2021 03:01:45
    |
Yuri Victorovich (yuri)  |
www/adguardhome: Update 0.105.2 -> 0.106.0 |
0.105.2_2 25 Apr 2021 22:41:21
    |
Yuri Victorovich (yuri)  |
www/adguardhome: Add rc script and pkg-message |
0.105.2_1 16 Apr 2021 21:29:13
    |
Yuri Victorovich (yuri)  |
www/adguardhome: Use pre-bilt html frontend tarballs and mantenance mode which
allows to build them.
Port was broken without this since they recently added the need for html
frontend being presend before build and such frontend was missing.
Reported by: Sandro Wirth <sandro.wirth@posteo.de> |
0.105.2 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.105.2 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.105.2 11 Mar 2021 17:14:51
  |
yuri  |
www/adguardhome: Update 0.105.1 -> 0.105.2
Reported by: portscout |
0.105.1 24 Feb 2021 23:37:56
  |
yuri  |
www/adguardhome: Update 0.104.3 -> 0.105.1
Reported by: portscout |
0.104.3 06 Jan 2021 00:42:39
  |
yuri  |
www/adguardhome: Update 0.104.1 -> 0.104.3
Reported by: portscout |
0.104.1 14 Nov 2020 05:04:16
  |
yuri  |
www/adguardhome: Update 0.103.3 -> 0.104.1
Reported by: portscout |
0.103.3 28 Jul 2020 17:39:55
  |
yuri  |
www/adguardhome: Update 0.102.0 -> 0.103.3
Reported by: portscout |
0.102.0 16 May 2020 08:37:26
  |
yuri  |
www/adguardhome: Update 0.101.0 -> 0.102.0
Reported by: portscout |
0.101.0 13 Mar 2020 16:01:29
  |
yuri  |
New port: www/adguardhome: Network-wide ads & trackers blocking DNS server |