BSD Ports

www/adguardhome 0.107.79_2 DragonFly

Network-wide ads & trackers blocking DNS server

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3
Categories
www
Package size
7619.2 KiB, 34302.1 KiB installed

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.

In the other systems

The newest version among them is 0.107.79, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlywww/adguardhome0.107.79_2 newestnone known-[email protected]-
FreeBSDwww/adguardhome0.107.79_3 newestnone known-[email protected]2026-11-11
NetBSDsecurity/adguardhome by name0.107.79nb4 newestnone known-[email protected]2026-11-10
HardenedBSDwww/adguardhome0.107.79_2 newestno data-[email protected]-
GhostBSDwww/adguardhome0.107.79_2 newestno data-[email protected]-

Compare across BSDs

Version history 1

  1. 0.107.79

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install adguardhome

From DPorts:

cd /usr/dports/www/adguardhome && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

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/