fix: centralise the ports

This commit is contained in:
silver 2023-04-21 00:53:25 +01:00
parent f63aa7f245
commit fe93f796a6
4 changed files with 8 additions and 12 deletions

View file

@ -34,13 +34,6 @@ in {
tags = [ "active" "dns" ];
};
networking = {
firewall = {
allowedTCPPorts = [22 53];
allowedUDPPorts = [53];
};
};
# open the firewall for this
skynet_firewall.forward = [
"ip daddr ${ip_pub} tcp dport 53 counter packets 0 bytes 0 accept"