BSD Ports

www/adguardhome 0.107.79_2 FreeBSD

Network-wide ads & trackers blocking DNS server

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d81b7ba3c3
License
GPLv3
Categories
www
Package size
7642.5 KiB, 43586.4 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
FreeBSDwww/adguardhome0.107.79_2 newestnone known-[email protected]2026-10-20
NetBSDsecurity/adguardhome by name0.107.79nb3 newestnone known-[email protected]2026-10-20
HardenedBSDwww/adguardhome0.107.79 newestno data-[email protected]-
GhostBSDwww/adguardhome0.107.79 newestno data-[email protected]-

Compare across BSDs

Version history 2

  1. 0.107.79 937a5c93f6
  2. 0.107.78 b85d022b7f

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 the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	adguardhome>0:www/adguardhome

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.107.79_10.107.79_2-0.107.64_10.107.79_1
FreeBSD:14:quarterly0.107.79_10.107.79_2n/a0.107.62_10.107.79_1
FreeBSD:15:latest0.107.79_10.107.79_2n/a-0.107.64_1
FreeBSD:15:quarterly0.107.79_10.107.79_2n/an/an/a
FreeBSD:16:latest0.107.790.107.79_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

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

As this port's Makefile names them.

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
cpe go:modules
Service scripts
adguardhome

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/

Files

pkg-plist 3
  • bin/
  • @sample share/examples/adguardhome/newsyslog.conf etc/newsyslog.conf.d/adguardhome.conf
  • @dir etc/newsyslog.conf.d
distinfo 3
FileSizeSHA256
go/www_adguardhome/adguardhome-v0.107.79/AdGuardHome_frontend.tar.gz2.580109e+0630184c157d4aefe5371b575a43c0ab5a7314aef039a820cc421ea67bab994ce8
go/www_adguardhome/adguardhome-v0.107.79/v0.107.79.mod6294109ce2a0dd29a099189bf6a4b9fa319b925f40178b3e1d3a81453c6ab8d60f2a
go/www_adguardhome/adguardhome-v0.107.79/v0.107.79.zip4.561702e+0694062fd659f90c60fbd8d79caf10dd03d66cdadf5c1cc232e7aac2c5ccc72c5d
Master sites 1
  • https://github.com/AdguardTeam/AdGuardHome/releases/download/${DISTVERSIONFULL}/

Commit history 9

DateCommitCreditsLog message
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
2c73fa4d6e Dag-Erling Smørgrav various: Drop Go 1.26+ version pin
This is a nop since 1.26 is the oldest supported version.
937a5c93f6 Alexandre Labarre www/adguardhome: update 0.107.78 → 0.107.79
ChangeLog: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.79 PR: 273924
dd0905142a Adam Weinberger many: Bump go ports for 1.26.8 and 1.27.1

The latest 5 of 9 in the history this site was built from.