What is AdGuard?
AdGuard is an ad-blocking and privacy protection software that blocks unwanted ads, pop-ups, and online tracking, as well as protecting users from phishing and malicious websites. It works on multiple platforms including Windows, macOS, Android, and iOS, and is available in both free and premium versions.
AdGuard uses a combination of various techniques such as URL filtering, network proxy, and browser extensions to block ads and protect users’ privacy. It also has features such as parental controls, customizable filters, and the ability to block ads on specific websites. Additionally, AdGuard provides detailed statistics and logs to give users an overview of their online activity and the types of ads that have been blocked. By using AdGuard, users can experience a faster, cleaner, and more secure internet experience without having to worry about intrusive ads, privacy breaches, and other online threats.
Code Source: GitHub | Official Website
Skip to Docker Run Code / Skip to Compose & Portainer Code
Blocks ads everywhere: Block throughout the whole system. This includes video ads and ads in your favourite apps, browsers, games, and on any website you can imagine. Dozens of ad filters are available to you and are updated on a regular basis, guaranteeing the best filtering quality.
Cares about your privacy: Protecting your personal data is our top priority. With AdGuard, you and your sensitive data will be safe from any online tracker and analytics system that may attempt to steal your data while surfing the web.
Family protection mode: Use the Family protection mode to block access to all websites with adult content and enforce safe search in the browser, in addition to the regular perks of ad blocking and browsing security.
No Apps needed: AdGuard Home does not require installation of any applications. You can use it on any Windows, macOS, Android, or iOS operated device.
Before we start, please ensure you have Docker installed. This can be installed through the Synology Package Center.
Create the Docker Folder
We now need to create the AdGuard Docker folder along with the data and config folder. Head into File Station and open the Docker folder. Select Create, choose Create folder and name it ‘adguard‘. Click into the adguard folder you just created and Create two more folders, name one ‘data‘ and name the other ‘config‘. (see demonstration)
Create the Scheduled Task
We will now head into Control Panel > Task Scheduler > Create > Scheduled Task and click User-defined script. (see demonstration)
Configure the Scheduled Task
In the window that appears, insert the following:
In the General tab, In the Task field, enter AdGuard. From the User list, select root. Uncheck the Enabled option.
In the Schedule tab, Select Run on the following date (make sure It’s today’s date). Now select Do not repeat.
In the Task Settings tab, under Notification, You can choose to turn this on, otherwise skip this. Now copy-paste the following code into the Run command area. Now click OK.
docker run -d --name=adguardhome \ -v /volume1/docker/adguard/config:/opt/adguardhome/conf \ -v /volume1/docker/adguard/data:/opt/adguardhome/work/data \ --net=host \ --restart always \ adguard/adguardhome
Accept the warning prompt
When the below warning appears, press OK.
Run the Scheduled Task
You will now see your list of tasks. Select AdGuard, now press Run.
When asked to run, press Yes.
AdGuard is Installed
The installation process has now finished. Give it a few seconds to appear in your Docker list.
Open your browser and enter the link to your new container http://synologyip:3000.
Welcome to AdGuard, press ‘Get Started‘.
If you get an error similar to the first screenshot, simply change the port to 8080 and this should clear the error. You may have another services currently using port 80. Press ‘Next‘.
Choose your Username and Password. Press Next.
That’s you finished. Make a ‘note’ of the addresses on the final screen as you’ll need these to configure your devices to point to AdGuard.
Press Next and then Open Dashboard. Login, and enjoy!
Docker Compose and Portainer
If you would prefer to install with Docker Compose or Portainer, use the following code. You can also view a demonstration here.
version: '3.3' services: adguardhome: container_name: adguard environment: - TZ=Europe/London volumes: - '/volume1/docker/adguard/config:/opt/adguardhome/conf' - '/volume1/docker/adguard/data:/opt/adguardhome/work/data' network_mode: host restart: always image: adguard/adguardhome
Actual AdGuard airsonic Audiobookshelf autobrr Bitcoin Calibre-Web Cleanarr Composerize Crypto DailyTxT deemix Deluge Emby Ethereum Euterpe FileBot FilePizza FileZilla Flame Focalboard FreshRSS Grafana Grocy Heimdall Homarr Home Assistant Homebridge Jackett Jellyfin Jellyseerr Joplin Kavita Komga LanguageTool LibreOffice Lidarr Mealie MediaGoblin Medusa Memegen Minecraft Minecraft Bedrock MQTT MusicBrainz MyMediaForAlexa Navidrome Node-RED NZBGet NZBHydra Ombi Overseerr PaperlessNGX Pashword Password Cards Petio Pi-Hole Picard Plex Portainer PostgreSQL Prowlarr PUID & PGID pwndrop Radarr Radicale Readarr ruTorrent SABnzbd SearX Seed Phrase Shiori Sonarr SpeedTest Stash Storm Tailscale TasmoAdmin Tautulli Theia Trilium TubeSync Unpackerr Uptime Kuma Vaultwarden Watchtower WebPDF Whisparr Wordle YouTubeDL