| title | AdGuard |
|---|---|
| description | A guide to deploying AdGuard via TrueNAS or docker compose |
| published | true |
| date | 2026-01-17 01:25:52 UTC |
| tags | |
| editor | markdown |
| dateCreated | 2026-01-15 15:03:05 UTC |
AdGuard is the best way to get rid of annoying ads and online tracking and protect your computer from malware. Make your web surfing fast, safe and ad-free.
- Set the Storage Configuration to use Host Path for the AdGuard Home Config Storage and AdGuard Home WorkDir Storage
services:
adguardhome:
container_name: adguardhome
restart: unless-stopped
volumes:
- /mnt/tank/configs/adguard/work:/opt/adguardhome/work
- /mnt/tank/configs/adguard/conf:/opt/adguardhome/conf
ports:
- 53:53/tcp
- 53:53/udp
- 67:67/udp
# - 68:68/udp
- 80:80/tcp
- 443:443/tcp
- 443:443/udp
- 3000:3000/tcp
- 853:853/tcp
- 853:853/udp
- 5443:5443/tcp
- 5443:5443/udp
- 6060:6060/tcp
image: adguard/adguardhome- Naviagte to the IP and Port of the container
- Leave the Interfaces and DNS Server settings default
- Create a username and password
- Set the DNS of your router to point to the IP of the container
- Add Upstream DNS Servers to the list already pre-populated
- Check the box to Enable Encryption to use HTTPS, DNS-over-HTTPS, and DNS-over-TLS
- Optionally add additional blocklists besides the default AdGuard DNS filter list



