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:
parent
c49b3e8259
commit
cc8debb111
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user