How to Install AdGuard on Your Synology NAS

How to Install AdGuard on Your Synology NAS

AdGuard is DNS ad blocking similar to Pi-HoleĀ and Technitium. It’s a privacy protection software which comprises open-source and shareware products that protect Microsoft Windows, Linux, OS X, Android and iOS users from unwanted ads, pop-ups, banners, as well as from tracking, obscene content, malware and phishing. Over 5 million people are reported to be using the software in 2018 and 7 million in 2019 with very fast growth. AdGuard is not only an ad blocker, but a whole ad blocking and privacy protection suite, a must-have product if you have a Synology NAS device. AdGuard Home intercepts and filters DNS requests. It works as a DNS server and prevents all the devices in a home network from connecting to the servers that track user browsing. In this step by step guide I will teach you how to install AdGuard on your Synology NAS device using Docker.

šŸ’”Note:Ā This guide works perfectly with the latest AdGuard Home v1.0.0 release.

šŸ’”Note: Check out my new guide on how to Install AdGuard Using Portainer.

šŸ’”Note: Check out my new guide on how to Install AdGuard on Your UGREEN NAS.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Container Manager via Synology ā€œPackage Centerā€. If you run an older DSM version (under 7.2), search for Docker instead of Container Manager.

Download Container Manager Synology Docker

  • STEP 3

Go toĀ File StationĀ and open the docker folder. Inside the docker folder, create one new folder and name itĀ adguard. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Adguard home Synology NAS Set up 1

  • STEP 4

Now create two new foldersĀ inside the adguard folder that you created at STEP 3 name them config and data. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Adguard home Synology NAS Set up 2

  • STEP 5

Go toĀ Control PanelĀ /Ā Task SchedulerĀ /Ā CreateĀ /Ā Scheduled TaskĀ /Ā User-defined script. Follow the instructions in the image below.

Synology User Defined Script

  • STEP 6

Once you click on User-defined script, a new window will open. Follow the instructions below:

  1. General: In the Task field type in ā€œInstall Adguardā€œ. Uncheck ā€œEnabledā€ option. SelectĀ rootĀ User.
  2. Schedule: SelectĀ Run on the following dateĀ then select ā€œDo not repeatā€œ.
  3. Task Settings: Check ā€œSend run details by emailā€œ, add your email then copy paste the code below in the Run command area. After that clickĀ OK.
docker run -d --name=adguard \
-e TZ=Europe/Bucharest \
-v /volume1/docker/adguard/config:/opt/adguardhome/conf \
-v /volume1/docker/adguard/data:/opt/adguardhome/work \
--net=host \
--restart always \
adguard/adguardhome

Note: Before you paste the code above in the Run command area, change the value for TZĀ (Select your current Time Zone from this list).

Adguard home Synology NAS Set up 4 new 2023

  • STEP 7

After you click OK on STEP 6 a new warning pop up window will open. Click OK.

Adguard home Synology NAS Set up 5 new

After you click OK, type in your DSM Password then click Submit. Follow the instructions in the image below.

Synology Task Scheduler Confirm Admin Password

  • STEP 8

After you click Submit on STEP 7, select your ā€œInstall Adguardā€ Task then click the ā€œRunā€ tab. You will be asked to run Install Adguard – click OK. Follow the instructions in the image below.

Adguard home Synology NAS Set up 6

  • STEP 9

🟢Please Support My work by Making a Donation. Almost 99,9% of the people that install something using my guidesĀ forget to support my work, or justĀ ignoreĀ STEP 1. I’ve been very honest about this aspect of my work since the beginning: I don’t run any ADS, I don’t require subscriptions, paid or otherwise, I don’t collect IPs, emails, and I don’t have any referral links from Amazon or other merchants. I also don’t have any POP-UPs or COOKIES. I have repeatedly been told over the years how much I have contributed to the community. It’s something I love doing and have been honest about my passion since the beginning. But I also Need The Community to Support me Back to be able to continue doing this work.

  • STEP 10

The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type in http://Synology-ip-address:3000 Select your language, then click Run wizard.Ā Follow the instructions in the image below.

Adguard Synology NAS Set up 1 new 2027

  • STEP 11

Add your own Username and Password. Accept the terms and conditions. Click Next. Follow the instructions in the image below.

Adguard Synology NAS Set up 2 new 2027

  • STEP 12

Change the default port from 80 to 9080 then scroll down the page. Follow the instructions in the image below.

Adguard Synology NAS Set up 3 new 2027

Click Next. Follow the instructions in the image below.

Adguard Synology NAS Set up 4 new 2027

Note: DNS Server Error message: This port is already in use. In this scenario something else is listening on the local DNS port 53 or AdGuard Home doesn’t have privileges. Uninstall or stop Pi-Hole, TelltaleDNS or Technitium if you have installed them via Portainer or Dockhand. Disable DHCP on your Synology NAS with DSM 6.2.4 in Control Panel / DHCP Server then select “Disable DHCP Server” or if you are running DSM 7.1 or DSM 7.2 uninstall the DHCP Server package or the DNS Server through Package Center. If this works, don’t forget to go back to STEP 1.

Adguard Port 53 already in use Synology

  • STEP 13

Scroll down the page. Follow the instructions in the image below.

Adguard Synology NAS Set up 5 new 2027

Click Next. Follow the instructions in the image below.

Adguard Synology NAS Set up 6 new 2027

  • STEP 14

Scroll down the page. Follow the instructions in the image below.

Adguard Synology NAS Set up 7 new 2027

Click Next. Follow the instructions in the image below.

Adguard Synology NAS Set up 8 new 2027

  • STEP 15

Click Open dashboard. Follow the instructions in the image below.

Adguard Synology NAS Set up 9 new 2027

  • STEP 16

Add your own Username and Password that you have previously added at STEP 11. Follow the instructions in the image below.

Adguard Synology NAS Set up 10 new 2027

  • STEP 17

Your AdGuard home Dashboard at a glance! Scroll down the page. Let’s go straight to the next step.

Adguard Synology NAS Set up 11 new 2027

  • STEP 18

Click Dark theme to switch the theme to Dark Mode. Follow the instructions in the image below.

Adguard Synology NAS Set up 12 new 2027

Enjoy AdGuard Home!

Adguard Synology NAS Set up 13 new 2027

  • STEP 19

Follow the same exact STEPS from this PiHole article to integrate AdGuard Home on Windows 11 or multiple devices.

  • STEP 20

You can also check the instructions to install the AdGuard companion AdGuardian.

šŸ”„Troubleshoot

Note: Admin Web Interface Error message: Ā Port 80 address already in use. This means that something on your system, probably a web server like Apache, is already listening on port 80. Follow the instructions at STEP 11 and change the current port from 80 to 9080.

Adguard home Synology NAS Set up 9
Note: Find out How to update the AdGuard container with the latest image.
Note: How to Back Up Docker Containers on your Synology NAS.
Note: Can I run Docker on my Synology NAS?Ā See the supported models.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.

This post was updated on Sunday / November 22nd, 2026 at 10:25 PM

No sponsors, no corporations, no ads, no subscriptions, no membership tiers, no referral links, no pop-ups, no cookies, no tracking code. Just pure guides for the community from Marius.