2024-12-23 22:38:58 +01:00
|
|
|
{ ... }: {
|
|
|
|
networking = {
|
|
|
|
firewall = {
|
|
|
|
enable = true;
|
|
|
|
allowedTCPPorts = [
|
2025-01-08 21:14:23 +01:00
|
|
|
53 # DNS
|
2024-12-23 22:38:58 +01:00
|
|
|
80 # HTTP
|
|
|
|
443 # HTTPS
|
2025-01-08 21:14:23 +01:00
|
|
|
5696 # DSM-KMIP
|
|
|
|
5697 # DSM-KMIP Backup
|
2025-01-10 02:50:16 +01:00
|
|
|
8096 # Jellyfin
|
2024-12-23 22:38:58 +01:00
|
|
|
];
|
|
|
|
interfaces = {
|
|
|
|
tailscale0= {
|
|
|
|
allowedTCPPorts = [
|
|
|
|
53 # DNS
|
|
|
|
80 # HTTP
|
|
|
|
443 # HTTPS
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|