nix/nixos/hosts/nuc-server/firewall.nix
2024-12-23 22:38:58 +01:00

21 lines
358 B
Nix

{ ... }: {
networking = {
firewall = {
enable = true;
allowedTCPPorts = [
53 # DNS
80 # HTTP
443 # HTTPS
];
interfaces = {
tailscale0= {
allowedTCPPorts = [
53 # DNS
80 # HTTP
443 # HTTPS
];
};
};
};
};
}