Files

60 lines
654 B
Nix
Raw Permalink Normal View History

2024-10-22 17:37:30 -04:00
{ ... }:
{
2025-12-25 01:01:38 -05:00
networking.firewall = {
2024-10-22 17:37:30 -04:00
2025-12-25 01:01:38 -05:00
extraCommands = "
iptables -I nixos-fw 1 -i br+ -j ACCEPT
";
extraStopCommands = "
iptables -D nixos-fw -i br+ -j ACCEPT
";
trustedInterfaces = [ "br+" ];
allowedTCPPorts = [
# qbit
8081
8082
8443
# hydra
3000
# minio
8500
8501
# gitea
2222
2223
8088
# attic
8183
# collabora
9980
# arr
6767
9696
7878
8989
8686
8787
5055
2026-01-08 11:45:15 -05:00
# torr
29432
];
allowedUDPPorts = [
# torr
29432
2025-12-25 01:01:38 -05:00
];
};
2024-10-22 17:37:30 -04:00
}