| Port details |
- adguardhome Network-wide ads & trackers blocking DNS server
- 0.107.77_2 www
=5 0.107.77_2Version of this port present on the latest quarterly branch. - Maintainer: yuri@FreeBSD.org
 - Port Added: 2020-03-13 16:01:35
- Last Update: 2026-07-10 07:54:15
- Commit Hash: 4ea3547
- 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 = 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:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
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 |