Skip to content

Latest commit

 

History

History
62 lines (53 loc) · 1.83 KB

File metadata and controls

62 lines (53 loc) · 1.83 KB
title AdGuard
description A guide to deploying AdGuard via TrueNAS or docker compose
published true
date 2025-10-17 11:07:29 UTC
tags
editor markdown
dateCreated 2025-07-07 17:31:03 UTC

{class="tab-icon"} What is AdGuard?

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.

1 · Deploy AdGuard

{.tabset}

TrueNAS

  1. Set the Storage Configuration to use Host Path for the AdGuard Home Config Storage and AdGuard Home WorkDir Storage

Docker Compose

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

2 · Adguard Configuration

  1. Naviagte to the IP and Port of the container
  2. Leave the Interfaces and DNS Server settings default
  3. Create a username and password
  4. Set the DNS of your router to point to the IP of the container

2.1 DNS Settings

  1. Add Upstream DNS Servers to the list already pre-populated

2.2 Encryption Settings

  1. Check the box to Enable Encryption to use HTTPS, DNS-over-HTTPS, and DNS-over-TLS

2.3 DNS Blocklists

  1. Optionally add additional blocklists besides the default AdGuard DNS filter list

3 · Video