nix/nixos/hosts/nuc-server/firewall.nix

24 lines
441 B
Nix

{ ... }: {
networking = {
firewall = {
enable = true;
allowedTCPPorts = [
53 # DNS
80 # HTTP
443 # HTTPS
5696 # DSM-KMIP
5697 # DSM-KMIP Backup
8096 # Jellyfin
];
interfaces = {
tailscale0= {
allowedTCPPorts = [
53 # DNS
80 # HTTP
443 # HTTPS
];
};
};
};
};
}