Open DNS port for UDP.

It seems like disabling the firewall only really disables it for TCP,
not UDP as well.
This commit is contained in:
niten 2024-10-06 22:35:32 -07:00
parent c49b3e8259
commit cc8debb111

View File

@ -258,6 +258,11 @@ in {
};
};
networking.firewall = {
allowedTCPPorts = [ cfg.dns.listen-port ];
allowedUDPPorts = [ cfg.dns.listen-port ];
};
systemd.services.adguard-dns-proxy =
let configFile = "/run/adguard-dns-proxy/config.yaml";
in {