Skip to content
Sebastian Schmidt edited this page Jul 14, 2024 · 15 revisions

AdGuardHome

Set Permissions

This is necessary to run AdGuardHome on port 25 (the default DNS port) otherwise AdGuardHome won't run. Choose one of the blow options

Option 1 - Running as Root

The following command (as root) needs to be run after installation and after any SynoCommunity package updates

sed -i 's/package/root/g' /var/packages/adguardhome/conf/privilege

Option 2 - Running Without Superuser

Learn more: https://adguard-dns.io/kb/adguard-home/getting-started/#running-without-superuser

setcap 'CAP_NET_BIND_SERVICE=+eip CAP_NET_RAW=+eip' /var/packages/adguardhome/target/bin/adguardhome

The schedule/command needs to be run every time after an AdGuardHome update.

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.

image

How to use the Task Scheduler

image

image

Clone this wiki locally