26 lines
289 B
Nix
26 lines
289 B
Nix
{
|
|
networking.firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [
|
|
22
|
|
139
|
|
445
|
|
2222
|
|
3002
|
|
4567
|
|
5432
|
|
7080
|
|
8081
|
|
8384
|
|
22000
|
|
];
|
|
allowedUDPPorts = [
|
|
137
|
|
138
|
|
9993
|
|
21027
|
|
22000
|
|
];
|
|
};
|
|
}
|