This repository has been archived on 2024-08-30. You can view files and clone it, but cannot push or open issues or pull requests.
infrastructure/hosts/pink/services/firewall.nix

46 lines
552 B
Nix
Raw Permalink Normal View History

2024-05-29 17:15:20 +02:00
{ pkgs, config, ... }: {
networking.firewall = {
enable = true;
allowedTCPPorts = [
22 #ssh
# pihole
53
# prometheus
9090
8080
config.services.i2pd.port
8422 # csengoclient
5333 # csengoserver
5432
# learningpulse
8181
2024-05-29 17:15:20 +02:00
];
allowedUDPPorts = [
22 # ssh
# prometheus
9090
8080
53
2024-05-29 17:15:20 +02:00
8422 # csengoclient
5333 # csengoserver
5432
# learningpulse
8181
2024-05-29 17:15:20 +02:00
config.services.i2pd.port
];
};
}