Files
nix-dotfiles/systems/palatine-hill/firewall.nix

55 lines
605 B
Nix
Raw 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
# temp postgres
5432
];
};
2024-10-22 17:37:30 -04:00
}