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
2024-05-29 17:15:20 +02:00

44 lines
522 B
Nix

{ pkgs, config, ... }: {
networking.firewall = {
enable = true;
allowedTCPPorts = [
22 #ssh
# pihole
53
1444
# prometheus
9090
8080
config.services.i2pd.port
8422 # csengoclient
5333 # csengoserver
5432
];
allowedUDPPorts = [
22 # ssh
# pihole
53
1444
# prometheus
9090
8080
8422 # csengoclient
5333 # csengoserver
5432
config.services.i2pd.port
];
};
}