Former-commit-id: c5420f8d3a
This commit is contained in:
Hadi
2024-06-23 17:52:19 +02:00
parent 8eaa78bf4b
commit d943b85cc9
30 changed files with 50 additions and 74 deletions

View File

@@ -0,0 +1,12 @@
# Network-wide ads & trackers blocking DNS server
# Change your router primary DNS server to {this server IP} to make it network wide.
{
services.adguardhome = {
enable = false;
host = "0.0.0.0";
port = 3000;
allowDHCP = true;
openFirewall = true;
};
networking.firewall.allowedTCPPorts = [ 53 3000 ];
}