| Port details on branch 2026Q3 |
- adguardhome Network-wide ads & trackers blocking DNS server
- 0.107.77_2 www
=0 0.107.77_2Version of this port present on the latest quarterly branch. - Maintainer: yuri@FreeBSD.org
 - Port Added: 2026-07-10 08:24:41
- Last Update: 2026-07-10 08:00:52
- Commit Hash: c328c3d
- 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 = 1780424480
SHA256 (go/www_adguardhome/adguardhome-v0.107.77/AdGuardHome_frontend.tar.gz) = 3c455340365e4dc3babedfc65e52ab93334a40568e8a7b84eb4aa1cd1a6b3a71
SIZE (go/www_adguardhome/adguardhome-v0.107.77/AdGuardHome_frontend.tar.gz) = 2577335
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- 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:
|