AdGuard Home¶
AdGuard Home is a network-wide software for blocking ads and tracking.
Installation Instructions¶
- Install package but uncheck the box to run the package automatically after installation
- Run one of the commands below in Set Permissions
- Start the package
- Click Open to open the Web Browser to the AdGuardHome welcome page e.g.
http://192.168.0.2:6053/
Set Permissions¶
This is necessary to run AdGuardHome on port 53 (the default DNS port) otherwise AdGuardHome won't run. Choose one of the options below.
Option 1 - Running as Root¶
The following command (as root) needs to be run after installation and after any SynoCommunity package updates:
Option 2 - Running Without Superuser¶
Learn more: AdGuard Home - Running without superuser
The following command (as root) needs to be run after installation and after every AdGuardHome update or SynoCommunity package update:
setcap 'CAP_NET_BIND_SERVICE=+eip CAP_NET_RAW=+eip' /var/packages/adguardhome/target/bin/adguardhome
If you are too late with running the command, the update should roll back or stop. You should be able to stop & start the package again to try the update again after running the command.
Using Task Scheduler¶
You can automate running these commands using DSM Task Scheduler:
- Open Control Panel > Task Scheduler
- Create a new Triggered Task > User-defined script
- Set the task to run as root
- Add your chosen command in the script section
- Configure the trigger (e.g., on boot or after package update)