46 lines
552 B
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
|
|
];
|
|
};
|
|
|
|
}
|
|
|