| Port details |
- adguardhome Network-wide ads & trackers blocking DNS server
- 0.107.74_1 www
=5 0.107.72_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-05-09 17:25:51
- Commit Hash: 5f9824a
- People watching this port, also watch:: curl, scrot, mkvtoolnix, tmux
- 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 = 1776361032
SHA256 (go/www_adguardhome/adguardhome-v0.107.74/AdGuardHome_frontend.tar.gz) = bca5a8a4d777f984d9a6992214dc158cb35c12e6fd6fd61a30f677896aaa1758
SIZE (go/www_adguardhome/adguardhome-v0.107.74/AdGuardHome_frontend.tar.gz) = 2606434
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.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 |