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

{ 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
];
allowedUDPPorts = [
22 # ssh
# prometheus
9090
8080
53
8422 # csengoclient
5333 # csengoserver
5432
# learningpulse
8181
config.services.i2pd.port
];
};
}